diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-17 18:18:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-17 18:18:26 +0000 |
commit | e81bad456aa55af8b0cb31d2ffeb0672ff0c6bbf (patch) | |
tree | 2330a8e8d362ae33a4a83d92be789c01a9dabd61 /src/dynamic.cpp | |
parent | 3345b6c0dc26bf5f5ab848a22b9b5f2887e51574 (diff) |
Added calls to sched_yield() to cut down processor usage - won't work in *bsd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@635 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dynamic.cpp')
-rw-r--r-- | src/dynamic.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp index 4c822e4ca..d18854dc6 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -4,7 +4,7 @@ -DLLManager::DLLManager( const char *fname ) +DLLManager::DLLManager(const char *fname) { // Try to open the library now and get any error message. @@ -20,10 +20,7 @@ DLLManager::~DLLManager() } -bool DLLManager::GetSymbol( - void **v, - const char *sym_name - ) +bool DLLManager::GetSymbol(void **v, const char *sym_name) { // try extract a symbol from the library // get any error message is there is any @@ -45,10 +42,7 @@ bool DLLManager::GetSymbol( } -DLLFactoryBase::DLLFactoryBase( - const char *fname, - const char *factory - ) : DLLManager(fname) +DLLFactoryBase::DLLFactoryBase(const char *fname, const char *factory) : DLLManager(fname) { // try get the factory function if there is no error yet |