diff options
Diffstat (limited to 'ace/Thread.cpp')
-rw-r--r-- | ace/Thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Thread.cpp b/ace/Thread.cpp index 0248c39efc1..05454c50f90 100644 --- a/ace/Thread.cpp +++ b/ace/Thread.cpp @@ -73,7 +73,8 @@ ACE_Thread::spawn_n (ACE_thread_t thread_ids[], if (result == 0) { - thread_ids[i] = t_id; + if (thread_ids != 0) + thread_ids[i] = t_id; if (thread_handles != 0) thread_handles[i] = t_handle; } |