summaryrefslogtreecommitdiff
path: root/src/threadengines
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices to 2011Gravatar Jackmcbarn2011-05-041-1/+1
|
* Remove threadengine.h from inspircd.hGravatar Jackmcbarn2011-01-301-1/+1
|
* Remove cull_list.h from inspircd.hGravatar Jackmcbarn2011-01-291-2/+3
|
* Remove broken win32 threadengineGravatar Daniel De Graaf2010-09-261-115/+0
|
* Replace "throw new" with "throw"Gravatar Jackmcbarn2010-09-241-1/+1
|
* Fix compilation of pipe-based ThreadSignalSocketGravatar Daniel De Graaf2010-08-251-1/+1
|
* Add thread terminator supportGravatar Daniel De Graaf2010-08-251-13/+25
|
* Support module unloading while jobs are enqueuedGravatar Daniel De Graaf2010-08-241-8/+50
|
* Replace thread engine with job engineGravatar Daniel De Graaf2010-08-241-66/+99
|
* Change ThreadSignalSocket to EventHandler to avoid calling recv() on an ↵Gravatar Daniel De Graaf2010-08-031-21/+36
| | | | eventfd, which does not work
* Use EFD_NONBLOCK in test creation of eventfd (makes it require glibc ↵Gravatar Daniel De Graaf2010-08-031-1/+1
| | | | 2.8/linux 2.6.27)
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-112-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-cull of users quitting due to connection errorGravatar danieldg2009-11-122-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12105 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for SocketThread, missing overload, and a left in deprecated variable.Gravatar peavey2009-10-111-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11832 e03df62e-2008-0410-955e-edbf42e46eb7
* Compile fixes.Gravatar peavey2009-10-111-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11831 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-262-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-212-27/+23
| | | | | | | | | | | | | | 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
* ThreadWindows: Remove ThreadSignalListener and connect the socket right awayGravatar danieldg2009-09-021-39/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11617 e03df62e-2008-0410-955e-edbf42e46eb7
* Cast rework: use C++ style static_cast<> instead of C-style castsGravatar danieldg2009-09-022-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded #ifdef IPV6 linesGravatar danieldg2009-09-011-14/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11582 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded paramaters from OnAcceptReadyGravatar danieldg2009-09-011-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11581 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a compile error for IPv6 windows builds, discovered by FloGravatar special2009-08-141-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11519 e03df62e-2008-0410-955e-edbf42e46eb7
* 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
* Make this compileGravatar peavey2009-03-251-6/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11264 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some win32 compile errors, thanks for error output therock247ukGravatar danieldg2009-03-251-8/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11263 e03df62e-2008-0410-955e-edbf42e46eb7
* more of the fix but it still doesnt build. I know we said this might be ↵Gravatar brain2009-03-251-1/+1
| | | | | | unstable, but when writing *windows* code can you all please make sure it BUILDS on windows??? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11261 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-232-1/+177
| | | | 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-232-68/+14
| | | | | | 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-232-129/+39
| | | | 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-152-2/+2
| | | | | | | | | 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-022-2/+2
| | | | 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-042-4/+4
| | | | 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-042-0/+52
| | | | | | 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
* Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, ↵Gravatar brain2008-04-181-2/+3
| | | | | | lots of thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 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
* Add the same thread safety checks to this, now ive got the project as a ↵Gravatar brain2008-02-221-1/+9
| | | | | | whole compiling. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9009 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
* Debug removalGravatar brain2008-02-221-9/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9006 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot to initialize critical section. somehow, the new logging code exposed ↵Gravatar brain2008-02-221-0/+10
| | | | | | this error??? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9005 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
* Add mutex wrappersGravatar brain2008-02-221-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8995 e03df62e-2008-0410-955e-edbf42e46eb7
* Now compiles with win32thread and testsuiteGravatar brain2008-02-221-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8993 e03df62e-2008-0410-955e-edbf42e46eb7
* Closer to compilationGravatar brain2008-02-221-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8992 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