Critical regions

    mutex_name IS SERIOUS BUSINESS
      code_in_critical_region
    WTF
      code_to_run_if_mutex_is_unavailable
    KTHX

If there is no WTF clause, the process blocks attempting to grab the mutex.

Synonyms: SRS BIZNIS, SRS BUSNESS, etc.

Geordan Rosario, 2007/05/30 21:14