--- parser3/src/include/pa_threads.h 2001/11/05 11:46:26 1.20 +++ parser3/src/include/pa_threads.h 2002/01/21 12:10:07 1.21 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_threads.h,v 1.20 2001/11/05 11:46:26 paf Exp $ + $Id: pa_threads.h,v 1.21 2002/01/21 12:10:07 paf Exp $ */ #ifndef PA_THREADS_H @@ -13,6 +13,12 @@ #include "pa_config_includes.h" #include "pa_types.h" +/// thread ID type +typedef unsigned int pa_thread_t; + +/// get caller thread ID +pa_thread_t pa_get_thread_id(); + class AutoSYNCHRONIZED; /// simple semaphore object