Skip to content

Commit cec11c6

Browse files
committed
windows pthread.def
1 parent cdf2ce3 commit cec11c6

13 files changed

Lines changed: 0 additions & 10 deletions

File tree

.github/workflows/jsource.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,6 @@ jobs:
13931393
jewin-msys2-arm64:
13941394
name: JE (Windows MSYS2 arm64)
13951395
needs: all
1396-
if: ${{ false }}
13971396
runs-on: windows-11-arm
13981397
steps:
13991398
- name: Checkout Git repository

jsrc/j.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,11 +874,7 @@ struct jtimespec jmtfclk(void); //'fast clock'; maybe less inaccurate; intended
874874
#endif
875875

876876
#if PYXES
877-
#if _WIN32
878-
#define YIELD Sleep(0); // if we are spinning on other threads, give them a chance to run in case they might be on this core
879-
#else
880877
#define YIELD sched_yield(); // if we are spinning on other threads, give them a chance to run in case they might be on this core
881-
#endif
882878
#define REPATGCLIM 0x100000 // When this many bytes have been repatriated to a thread, call a GC in that thread
883879
#define REPATOLIM (REPATGCLIM/32) // When an outgoing repatriation queue contains this many bytes, flush it
884880
#else

jsrc/mt.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
// - Attempt to detect deadlock, perhaps in a debug mode of some sort (cf freebsd kernel WITNESS)
2323

2424
#include"j.h"
25-
// #if PYXES
26-
// #define YIELD sched_yield(); // if we are spinning on other threads, give them a chance to run in case they might be on this core
27-
// #else
28-
// #define YIELD ; // if no other processes, no reason to delay
29-
// #endif
3025

3126
// timing shenanigans
3227
struct jtimespec jtmtil(UI ns){ //returns the time ns ns in the future

pthreads4w/arm64/pthreadVC3.dll

4 KB
Binary file not shown.

pthreads4w/arm64/pthreadVC3.lib

4.63 KB
Binary file not shown.
0 Bytes
Binary file not shown.

pthreads4w/bin/pthreadVC3-w32.dll

0 Bytes
Binary file not shown.

pthreads4w/bin/pthreadVC3.dll

2 KB
Binary file not shown.

pthreads4w/lib/pthreadVC3.lib

4.63 KB
Binary file not shown.

pthreads4w/x64/pthreadVC3.dll

2 KB
Binary file not shown.

0 commit comments

Comments
 (0)