aboutsummaryrefslogtreecommitdiff
path: root/include/threadengines
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-302-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
|
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-5/+5
|
* Fix a bunch of really obvious unnecessary includes.Gravatar Sadie Powell2021-03-052-2/+2
|
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-212-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-112-2/+9
|
* Inherit ThreadQueueData from Mutex to avoid duplicating codeGravatar Attila Molnar2014-06-242-32/+6
|
* Move and rename class ThreadData to ThreadEngine::ThreadStateGravatar Attila Molnar2014-06-242-12/+14
|
* Move and rename ThreadData::FreeThread() to ThreadEngine::Stop() and ↵Gravatar Attila Molnar2014-06-242-2/+24
| | | | document what it does
* Remove empty ThreadEngine constructors and destructorsGravatar Attila Molnar2014-06-242-14/+0
|
* Remove the unused ThreadEngine::GetName() method from both implementationsGravatar Attila Molnar2014-06-242-16/+0
|
* Tidy up source files:Gravatar Peter Powell2013-04-122-10/+2
| | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* Merge inspircd_{config,version}.h into a single header file.Gravatar Peter Powell2013-04-051-1/+1
|
* Windows: In-depth cleanup (see details)Gravatar ChrisTX2012-10-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Fix x64 builds for Windows. Now all configurations compile. -Remove the non-working rebase stuff. -Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now. -Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2 -Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need. -Enable optimizations for release builds. -De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure -Add the VC++ specific bad files in .gitignore -Disable PID writing on Windows. This is only making sense for *nix builds. -Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working) -Removed certain unused functions and variables -Remove stdint defines from the windows wrapper -Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds. -Re-evaluated the warnings list, commented it. -Moved inspircd_config/_version to include/ to match *nix -Removed the creation of inspircd_se_config, as it isn't used at all. -Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out) -Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly. -Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down) -Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded. -Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways) -Removed the unused ClearConsole() -Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate. -Made inet_aton an inline function for increased performance -C4800, performance warning about bool forcing, resolved at all occurrences. -C4701, uninitialized variable 'cached', resolved at all occurrences. -dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance. -Removed the wrong CRT debug flags. This drains a lot of performance. -Removed the clock_gettime/gettimeofday wrappers -Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function. -Added a block of C4355 for < VS2012 -Update project files for c870714
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-1/+0
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-192-16/+30
|
* Fix some of the include guard names (requested by SaberUK)Gravatar Justin Crawford2012-04-142-4/+4
|
* Fixes for bug #12Gravatar Justin Crawford2012-04-142-4/+4
|
* ...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
* Move forward declarations to typedefs.hGravatar danieldg2009-10-241-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11967 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-262-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded Extensible inheritance and remove "age" field from classbaseGravatar danieldg2009-09-022-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7
* start of fix for bug #805Gravatar brain2009-03-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11260 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: Allow interthread signaling without needing as many hacksGravatar danieldg2009-03-232-0/+95
| | | | 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-56/+111
| | | | | | 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-20/+18
| | | | 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
* Nuke trailing spacesGravatar peavey2009-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 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
* Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()Gravatar brain2008-09-062-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 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 silly compile errorsGravatar brain2008-09-041-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10383 e03df62e-2008-0410-955e-edbf42e46eb7
* ability to create mutexes (rather than just having one system wide mutex) in ↵Gravatar brain2008-09-042-0/+38
| | | | | | 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
* CoreExport is required for the factoriesGravatar brain2008-02-222-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9011 e03df62e-2008-0410-955e-edbf42e46eb7
* Now compiles with win32thread and testsuiteGravatar brain2008-02-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8993 e03df62e-2008-0410-955e-edbf42e46eb7
* Closer to compilationGravatar brain2008-02-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8992 e03df62e-2008-0410-955e-edbf42e46eb7
* Win32ThreadEngine makes sense now. No gaurantees it compiles yet.Gravatar brain2008-02-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8990 e03df62e-2008-0410-955e-edbf42e46eb7
* These are just copies of the pthread engine right now, will probably make ↵Gravatar brain2008-02-211-0/+58
| | | | | | them work tomorrow night git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8988 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine::GetName(), for display in /versionGravatar brain2008-02-211-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8985 e03df62e-2008-0410-955e-edbf42e46eb7
* Now buildble.Gravatar brain2008-02-211-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8982 e03df62e-2008-0410-955e-edbf42e46eb7
* Threadengine stuffGravatar brain2008-02-211-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8980 e03df62e-2008-0410-955e-edbf42e46eb7
* Each Thread class must have its own thread handle, duh. Someone take away my ↵Gravatar brain2008-02-101-4/+2
| | | | | | 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-102-0/+45
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8874 e03df62e-2008-0410-955e-edbf42e46eb7