cl: compileFuncDecl/funcName fix; patch library: sync

This commit is contained in:
xushiwei
2024-06-17 18:32:58 +08:00
parent bec29f99e6
commit 98f3e45c0a
6 changed files with 76 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
#include <pthread.h>
pthread_once_t llgoSyncOnceInitVal() {
pthread_once_t initVal = PTHREAD_ONCE_INIT;
return initVal;
}
// -----------------------------------------------------------------------------
pthread_once_t llgoSyncOnceInitVal = PTHREAD_ONCE_INIT;
// -----------------------------------------------------------------------------