You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
@ -311,7 +311,7 @@ namespace System.Threading {
|
||||
|
||||
// Returns the system thread handle
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
private extern IntPtr Thread_internal (MulticastDelegate start);
|
||||
private extern bool Thread_internal (MulticastDelegate start);
|
||||
|
||||
private Thread (InternalThread it) {
|
||||
internal_thread = it;
|
||||
@ -484,7 +484,7 @@ namespace System.Threading {
|
||||
#endif
|
||||
|
||||
// Thread_internal creates and starts the new thread,
|
||||
if (Thread_internal(m_Delegate) == IntPtr.Zero)
|
||||
if (!Thread_internal(m_Delegate))
|
||||
throw new SystemException ("Thread creation failed.");
|
||||
|
||||
m_ThreadStartArg = null;
|
||||
|
Reference in New Issue
Block a user