mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 08:06:04 +02:00
Added CallingConvention support, mangle specifying
This commit is contained in:
parent
904f907f1d
commit
61d9edea83
26 changed files with 413 additions and 96 deletions
|
@ -152,8 +152,11 @@ namespace System.Threading
|
|||
}
|
||||
}
|
||||
|
||||
[CallingConvention(.Cdecl)]
|
||||
extern void ManualThreadInit();
|
||||
[CallingConvention(.Cdecl)]
|
||||
extern void StartInternal();
|
||||
[CallingConvention(.Cdecl)]
|
||||
extern void SetStackStart(void* ptr);
|
||||
|
||||
public void Start(bool autoDelete = true)
|
||||
|
@ -266,7 +269,8 @@ namespace System.Threading
|
|||
{
|
||||
SpinWaitInternal((int32)iterations);
|
||||
}
|
||||
|
||||
|
||||
[CallingConvention(.Cdecl)]
|
||||
private static extern bool YieldInternal();
|
||||
|
||||
public static bool Yield()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue