Fixed deterministic serialization on Windows.
This commit is contained in:
byuu
2019-10-17 21:42:42 +09:00
parent 9f86a3be26
commit 30d7fa1923
13 changed files with 41 additions and 45 deletions

View File

@@ -413,10 +413,6 @@ static void co_init_(void) {
co_active_handle = co_create_(state_size, (uintptr_t)&co_switch);
}
const char* co_method() {
return "ppc";
}
cothread_t co_active() {
if(!co_active_handle) co_init_();
@@ -429,3 +425,7 @@ void co_switch(cothread_t t) {
CO_SWAP_ASM(t, old);
}
int co_serializable() {
return 0;
}