aboutsummaryrefslogtreecommitdiff
path: root/src/threadengines/threadengine_pthread.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix fd and minor memory leak in threadengine_pthread on unload of m_mysqlGravatar attilamolnar2013-08-271-0/+11
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* Change ThreadSignalSocket to EventHandler to avoid calling recv() on an event...Gravatar Daniel De Graaf2010-08-041-21/+36
* Use EFD_NONBLOCK in test creation of eventfd (makes it require glibc 2.8/linu...Gravatar Daniel De Graaf2010-05-211-1/+1
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Fix double-cull of users quitting due to connection error•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-121-0/+2
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-3/+3
* Create StreamSocket for IO hooking implementation•••Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-16/+17
* Cast rework: use C++ style static_cast<> instead of C-style casts•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-1/+1
* Change to using read/write not send/recv on the ThreadSignalSocket pipe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11506 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-2/+2
* Fix double-free in ~SocketThread•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11501 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-111-1/+0
* Add test-compile checks for epoll and eventfd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11253 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-6/+3
* ThreadEngine: Allow interthread signaling without needing as many hacks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-1/+91
* ThreadEngine: remove MutexFactory, mutexes should be constructed using their ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-33/+6
* ThreadEngine: remove excessive mutex use on thread creation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-80/+24
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Suggested by nenolod, lets add this for thread signal safety•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10605 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-281-0/+8
* MutexEngine -> MutexFactory, more sensible name•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10385 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-041-2/+2
* fix posix mutexes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10382 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-041-2/+2
* ability to create mutexes (rather than just having one system wide mutex) in ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10381 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-041-0/+26
* Remove annoying debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9027 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-241-2/+0
* Add mutexes to this to make it a bit more threadsafe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9025 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-241-0/+2
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9010 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-221-0/+13
* Thread safety stuff, waiting for pointer to become 'safe' before changing it ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9007 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-221-1/+8
* Add mutex wrappers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-221-0/+5
* Configure macros not needed here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8991 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-221-11/+0
* These are just copies of the pthread engine right now, will probably make the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8988 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-211-1/+0
* Working thread test!!!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8983 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-211-0/+7
* Each Thread class must have its own thread handle, duh. Someone take away my ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8876 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-101-7/+16
* Add threading engine stuff. Docs to follow, untested and not used anywhere yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8874 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-101-0/+78