Changeset 26255

Show
Ignore:
Timestamp:
07/04/08 20:10:13 (5 months ago)
Author:
bonefish
Message:

Check the mutex only when not in KDL.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • haiku/branches/developer/bonefish/vm/src/system/kernel/elf.cpp

    r25812 r26255  
    128128        struct elf_image_info *image; 
    129129 
    130         ASSERT_LOCKED_MUTEX(&sImageMutex); 
     130#if KDEBUG 
     131        if (!debug_debugger_running()) 
     132                ASSERT_LOCKED_MUTEX(&sImageMutex); 
     133#endif 
    131134 
    132135        hash_open(sImagesHash, &iterator);