Changes: Christian Thalinger
- $Id: threads.c 2800 2005-06-23 10:09:50Z twisti $
+ $Id: threads.c 2899 2005-07-04 20:41:28Z twisti $
*/
#endif
}
+
+/* thread_setself **************************************************************
+
+ XXX
+
+*******************************************************************************/
+
+void *thread_getself(void)
+{
+ return pthread_getspecific(tkey_threadinfo);
+}
+
+
static monitorLockRecord *dummyLR;
static void initPools();
Changes: Christian Thalinger
- $Id: threads.h 2761 2005-06-20 22:46:55Z stefan $
+ $Id: threads.h 2899 2005-07-04 20:41:28Z twisti $
*/
void broadcast_cond_for_object (java_objectheader *obj);
void wait_cond_for_object (java_objectheader *obj, s8 time, s4 nanos);
+void *thread_getself(void);
+
void initThreadsEarly();
void initThreads(u1 *stackbottom);
void initObjectLock(java_objectheader *);