summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/u_thread.c
AgeCommit message (Collapse)Author
2011-03-06mapi: _glthread_DECLARE_STATIC_MUTEX is not broken on Windows.José Fonseca
2010-12-12mapi: Fix a warning in !THREADS build.Chia-I Wu
It should be u_thread_self, not _glthread_GetID.
2010-12-02WIN32_THREADS -> WIN32José Fonseca
Fixes nasty bug where some parts of the code didn't define WIN32_THREADS and were using the integer mutex implementation, causing even confusion to the debuggers. And there is little interest of other thread implemenation on Win32 besides Win32 threads.
2010-05-07mapi: Add mapi and share the code with glapi.Chia-I Wu
Specifically, move all or most of glapi/glapi.c to mapi/u_current.c, glapi/glapi_execmem.c to mapi/u_execmem.c, glapi/glthread.[ch] to mapi/u_thread.[ch] and remove their dependencies on core Mesa headers.