aboutsummaryrefslogtreecommitdiff
path: root/src/ito.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-04-27 17:07:55 +0000
committerMike Buland <eichlan@xagasoft.com>2010-04-27 17:07:55 +0000
commit1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c (patch)
tree3ea239424e33edfc8d9b80aa6b923d944cd0bfa1 /src/ito.cpp
parent801e7de1f85656746d832508baf4583907826420 (diff)
downloadlibbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.gz
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.bz2
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.xz
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.zip
The Bu::Ito thread class has changed the rules on the run function. It no
longer returns anything, that's fine, it's in a class, but it also is protected now. That doesn't really effect child classes much, they can make run public, but I reccomend protected to avoid confusion.
Diffstat (limited to 'src/ito.cpp')
-rw-r--r--src/ito.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ito.cpp b/src/ito.cpp
index dba1a87..0218ecc 100644
--- a/src/ito.cpp
+++ b/src/ito.cpp
@@ -32,9 +32,9 @@ bool Bu::Ito::stop()
32 32
33void *Bu::Ito::threadRunner( void *pThread ) 33void *Bu::Ito::threadRunner( void *pThread )
34{ 34{
35 void *pRet = ((Ito *)pThread)->run(); 35 ((Ito *)pThread)->run();
36 pthread_exit( pRet ); 36 pthread_exit( NULL );
37 return pRet; 37 return NULL;
38} 38}
39 39
40bool Bu::Ito::join() 40bool Bu::Ito::join()