summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/threads.h
Commit message (Collapse)AuthorAgeFilesLines
* Drop LinuxThreads support, unbreak BSD.Adam Borowski2012-02-111-4/+4
| | | | | | | | This could be done via a compilation check -- to catch PTHREAD_MUTEX_RECURSIVE being an enum rather than a #define. Too bad, our Makefile makes compilation checks hard, slow and unwieldy. Thus, I hope no one cares about systems that ancient.
* Threading support.Adam Borowski2011-12-271-0/+103
Since Windows doesn't support pthreads without an external library, I used a mess of #defines. Also, some of the #defines are not needed; I copied them from an earlier project. Detached threads and cond variables are not used at the moment, if you feel bad about dormant code we can axe them.