diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-29 18:24:18 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-29 18:24:18 +0000 |
commit | 5423ddfef5ec0becd6f9b7cb46a212e660b2cd6e (patch) | |
tree | 6fbf314a07558ec257f2fa0bf78c3104bd3793a9 /ace/Thread.cpp | |
parent | 58bf8b8a42153935b70a2578ac2a91a30a75f6e3 (diff) | |
download | ATCD-5423ddfef5ec0becd6f9b7cb46a212e660b2cd6e.tar.gz |
Thread is's array checked to see if it is NULL.
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; } |