Changeset 10178 for release/1.2


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

Propagate r10177 (locking in
lisp_suspend_other_threads/lisp_resume_other_threads) to 1.2.

File:
1 edited

Legend:

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

    r9998 r10178  
    15331533lisp_suspend_other_threads()
    15341534{
     1535  TCR *current = get_tcr(true);
     1536  LOCK(lisp_global(TCR_AREA_LOCK),current);
    15351537  suspend_other_threads(false);
    15361538}
     
    15681570lisp_resume_other_threads()
    15691571{
     1572  TCR *current = get_tcr(true);
    15701573  resume_other_threads(false);
     1574  UNLOCK(lisp_global(TCR_AREA_LOCK),current);
    15711575}
    15721576
Note: See TracChangeset for help on using the changeset viewer.