1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: coroutines (part 2)

This commit is contained in:
Alexander Medvednikov
2023-05-28 05:30:23 +02:00
parent 2162230086
commit 9db10c8f61
6 changed files with 99 additions and 48 deletions

View File

@ -21,7 +21,7 @@ extern "C" {
#endif
int photon_init_default();
void photon_thread_create11(void* (* f)(void*));
void photon_thread_create(void* (* f)(void*), void* arg);
void photon_sleep_s(int n);
void photon_sleep_ms(int n);