K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-05T06:35:10.905646Z K 7 svn:log V 525 Introduce a bit flag UMUTEX_SIMPLE for umutex, so that it does not use thread id to lock and unlock. this is necessary, because a link entry can not be embedded into mutex which will be shared between processes, because if other process do incorrect think, it corrupt your link list. But to let unlocking after fork() to work, we either should link it into list to remember it or use a id which can be atomatically duplicated. We use pthread pointer, the bit UMUTEX_SIMPLE_OWNER indicates if the mutex is locked or unlocked. END