harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weldon Washburn" <weldon...@gmail.com>
Subject [drlvm][threading] what are the design rules for calling vm_gc_loc_enum()?
Date Sat, 03 Mar 2007 22:02:04 GMT
After committing H3203 patch, I worry there may be problems with the
modified version of vm_gc_lock_enum().

Basically tmn_suspend_enable() and ...disable() were removed.  Is it somehow
implied that a given thread must be in suspend enabled mode before calling
vm_gc_lock_enum()?  If this is true, does it make sense to put an "assert(
HyThread.suspend_disable_count == 0);" at the top of vm_gc_lock_enum()?

Weldon Washburn
Intel Enterprise Solutions Software Division

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message