Changeset 10177


Ignore:
Timestamp:
Jul 22, 2008, 1:07:50 AM (11 years ago)
Author:
gb
Message:

lisp_suspend_other_threads: lock tcr_area_lock before.
lisp_resume_other_threads: unlock tcr_area_lock after.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/thread_manager.c

    r10102 r10177  
    15971597lisp_suspend_other_threads()
    15981598{
     1599  TCR *current = get_tcr(true);
     1600  LOCK(lisp_global(TCR_AREA_LOCK),current);
    15991601  suspend_other_threads(false);
    16001602}
     
    16321634lisp_resume_other_threads()
    16331635{
     1636  TCR *current = get_tcr(true);
    16341637  resume_other_threads(false);
     1638  UNLOCK(lisp_global(TCR_AREA_LOCK),current);
    16351639}
    16361640
Note: See TracChangeset for help on using the changeset viewer.