aboutsummaryrefslogtreecommitdiff
path: root/src/threadengines/threadengine_pthread.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use EFD_NONBLOCK in test creation of eventfd (makes it require glibc ↵Gravatar Daniel De Graaf2010-05-211-1/+1
| | | | 2.8/linux 2.6.27)
* Change to using read/write not send/recv on the ThreadSignalSocket pipeGravatar danieldg2009-08-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11506 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-free in ~SocketThreadGravatar danieldg2009-08-111-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11501 e03df62e-2008-0410-955e-edbf42e46eb7
* Add test-compile checks for epoll and eventfdGravatar danieldg2009-03-231-6/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11253 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: Allow interthread signaling without needing as many hacksGravatar danieldg2009-03-231-1/+91
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: remove MutexFactory, mutexes should be constructed using their ↵Gravatar danieldg2009-03-231-33/+6
| | | | | | constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: remove excessive mutex use on thread creationGravatar danieldg2009-03-231-80/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Suggested by nenolod, lets add this for thread signal safetyGravatar brain2008-09-281-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10605 e03df62e-2008-0410-955e-edbf42e46eb7
* MutexEngine -> MutexFactory, more sensible nameGravatar brain2008-09-041-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10385 e03df62e-2008-0410-955e-edbf42e46eb7
* fix posix mutexesGravatar brain2008-09-041-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10382 e03df62e-2008-0410-955e-edbf42e46eb7
* ability to create mutexes (rather than just having one system wide mutex) in ↵Gravatar brain2008-09-041-0/+26
| | | | | | the threadengines, allows for migration of m_mysql etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10381 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove annoying debugGravatar brain2008-02-241-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9027 e03df62e-2008-0410-955e-edbf42e46eb7
* Add mutexes to this to make it a bit more threadsafeGravatar brain2008-02-241-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9025 e03df62e-2008-0410-955e-edbf42e46eb7
* CommentsGravatar brain2008-02-221-0/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9010 e03df62e-2008-0410-955e-edbf42e46eb7
* Thread safety stuff, waiting for pointer to become 'safe' before changing it ↵Gravatar brain2008-02-221-1/+8
| | | | | | (e.g. to launch another thread) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9007 e03df62e-2008-0410-955e-edbf42e46eb7
* Add mutex wrappersGravatar brain2008-02-221-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8996 e03df62e-2008-0410-955e-edbf42e46eb7
* Configure macros not needed hereGravatar brain2008-02-221-11/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8991 e03df62e-2008-0410-955e-edbf42e46eb7
* These are just copies of the pthread engine right now, will probably make ↵Gravatar brain2008-02-211-1/+0
| | | | | | them work tomorrow night git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8988 e03df62e-2008-0410-955e-edbf42e46eb7
* Working thread test!!!Gravatar brain2008-02-211-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8983 e03df62e-2008-0410-955e-edbf42e46eb7
* Each Thread class must have its own thread handle, duh. Someone take away my ↵Gravatar brain2008-02-101-7/+16
| | | | | | craqpipe NOW. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8876 e03df62e-2008-0410-955e-edbf42e46eb7
* Add threading engine stuff. Docs to follow, untested and not used anywhere yetGravatar brain2008-02-101-0/+78
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8874 e03df62e-2008-0410-955e-edbf42e46eb7