From eb02f47b126b56091ffaeaad470a48e2ac6d57b5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 10 Nov 1999 13:48:27 +0000 Subject: Committed modifications from ITRON Task and Task Dependendent Synchronization Working Group. Included are tests. --- c/src/exec/score/src/threadinitialize.c | 1 + 1 file changed, 1 insertion(+) (limited to 'c/src/exec/score/src/threadinitialize.c') diff --git a/c/src/exec/score/src/threadinitialize.c b/c/src/exec/score/src/threadinitialize.c index 28cfa324bc..f294d865bf 100644 --- a/c/src/exec/score/src/threadinitialize.c +++ b/c/src/exec/score/src/threadinitialize.c @@ -153,6 +153,7 @@ boolean _Thread_Initialize( the_thread->current_state = STATES_DORMANT; the_thread->resource_count = 0; + the_thread->suspend_count = 0; the_thread->real_priority = priority; the_thread->Start.initial_priority = priority; the_thread->ticks_executed = 0; -- cgit v1.2.3