diff options
| author | Timo Teras <timo.teras@iki.fi> | 2010-03-10 18:12:02 +0200 | 
|---|---|---|
| committer | Timo Teras <timo.teras@iki.fi> | 2010-03-10 18:12:02 +0200 | 
| commit | 674f1495ab082c8f5a604cbb5a4dadc95b8c7ebb (patch) | |
| tree | f5fd6a58b2d202057ee7f2df43a4e5d26dd75b01 /test/sleep.c | |
| parent | 5ef38570315dc68d7ddf8d9475d9a8830528e8a4 (diff) | |
| download | libtf-674f1495ab082c8f5a604cbb5a4dadc95b8c7ebb.tar.bz2 libtf-674f1495ab082c8f5a604cbb5a4dadc95b8c7ebb.tar.xz | |
libtf: fix stack frame creation and valgrind issues
debugging looks now better. there was also some valgrind issues
that needed attention.
Diffstat (limited to 'test/sleep.c')
| -rw-r--r-- | test/sleep.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/sleep.c b/test/sleep.c index 82399e1..ec21a76 100644 --- a/test/sleep.c +++ b/test/sleep.c @@ -23,7 +23,7 @@ int main(int argc, char **argv)  	tf_scheduler_enable(NULL);  	for (i = 0; i < 100; i++) { -		c = tf_fiber_create(NULL, work_fiber, sizeof(struct ctx)); +		c = tf_fiber_create(work_fiber, sizeof(struct ctx));  		tf_fiber_put(c);  	}  	tf_scheduler_disable(); | 
