shorter sleep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
34e0da0d4d
commit
3b139f6d7c
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ extern "C" void* working(void* t);
|
||||||
|
|
||||||
void run() {
|
void run() {
|
||||||
pthread_create(t,NULL,working,this);
|
pthread_create(t,NULL,working,this);
|
||||||
sleep(5);
|
sleep(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void do_foo() {
|
virtual void do_foo() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue