FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
History for src/pthread-main.js - JavaScriptIOT/emscripten · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptIOT
/
emscripten
Public
forked from
emscripten-core/emscripten
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
emscripten
src
pthread-main.js
on
universal-python
User selector
Datepicker
Commit history
Commits on Jun 1, 2015
Implement new machinery with PthreadWorkerInit variable that stores and carries variables from the main thread to the JS workers that are running pthreads.
juj
committed
091f758
View commit details
Copy full SHA for 091f758
View code at this point
Browse repository at this point
Allocate tempDoublePtr for the worker at worker init time.
juj
committed
b57729e
View commit details
Copy full SHA for b57729e
View code at this point
Browse repository at this point
Rename threadBlock to threadInfoStruct to reflect the usage better.
juj
committed
e2fc742
View commit details
Copy full SHA for e2fc742
View code at this point
Browse repository at this point
Code syntax formatting.
juj
committed
7cbea08
View commit details
Copy full SHA for 7cbea08
View code at this point
Browse repository at this point
Use strict equals comparison for thread message passing commands.
juj
committed
00d542d
View commit details
Copy full SHA for 00d542d
View code at this point
Browse repository at this point
Fix pthread wait issues with cancellation which caused semaphores not being waitable in pthread cancellation handlers.
juj
committed
d2bb705
View commit details
Copy full SHA for d2bb705
View code at this point
Browse repository at this point
Migrate back to musl mutex, which is now working better. Overload emscripten_futex_wait semantics to use count=-1 mean to wake up all threads. Fix futex wait and wake values and delays.
juj
committed
d86e9b3
View commit details
Copy full SHA for d86e9b3
View code at this point
Browse repository at this point
Maintain space for tempDoublePtr in pthreads. Fix allocatedOwnStack semantics (again).
juj
committed
62dce5f
View commit details
Copy full SHA for 62dce5f
View code at this point
Browse repository at this point
Fix issues with TTY creation in pthreads.
juj
committed
5dffd80
View commit details
Copy full SHA for 5dffd80
View code at this point
Browse repository at this point
Fix an issue with FS initialization in pthreads, and only initialize a minimal amount to get TTY going for printf - the full FS is not available in threads.
juj
committed
e22adb6
View commit details
Copy full SHA for e22adb6
View code at this point
Browse repository at this point
Manually initialize filesystem in pthread workers so that they can do printf().
juj
committed
826bb06
View commit details
Copy full SHA for 826bb06
View code at this point
Browse repository at this point
Implement pthread_setcancelstate() and pthread_setcanceltype().
juj
committed
4f29d30
View commit details
Copy full SHA for 4f29d30
View code at this point
Browse repository at this point
Fix typo in pthread quit.
juj
committed
e21444e
View commit details
Copy full SHA for e21444e
View code at this point
Browse repository at this point
Clarify hack.
juj
committed
ea527e2
View commit details
Copy full SHA for ea527e2
View code at this point
Browse repository at this point
If a pthread gets canceled, mark the thread return code to be PTHREAD_CANCELED. Also set the thread exit status if the thread crashed (e.g. to a JS exception).
juj
committed
7f2ff5a
View commit details
Copy full SHA for 7f2ff5a
View code at this point
Browse repository at this point
Add better check for ENVIRONMENT_IS_PTHREAD versus ENVIRONMENT_IS_WORKER.
juj
committed
00b975d
View commit details
Copy full SHA for 00b975d
View code at this point
Browse repository at this point
Add a hack to detect whether pthread is 'v' or 'vi'.
juj
committed
0da4bc8
View commit details
Copy full SHA for 0da4bc8
View code at this point
Browse repository at this point
Restore the default pthread startup function form.
juj
committed
21b46a8
View commit details
Copy full SHA for 21b46a8
View code at this point
Browse repository at this point
Mark down a note that pthread start signatures are known to be different.
juj
committed
c288dfb
View commit details
Copy full SHA for c288dfb
View code at this point
Browse repository at this point
Implement musl pthread control structure for each created pthread.
juj
committed
362e5fc
View commit details
Copy full SHA for 362e5fc
View code at this point
Browse repository at this point
Fix a bug where pthread exit might get called twice due to a race condition, and later on crashing in _free().
juj
committed
f6ec01f
View commit details
Copy full SHA for f6ec01f
View code at this point
Browse repository at this point
Work around https://bugzilla.mozilla.org/show_bug.cgi?id=1049091: Calling console.log/.error in a web worker blocks until the main JS thread yields back to the browser.
juj
committed
c321010
View commit details
Copy full SHA for c321010
View code at this point
Browse repository at this point
Add new function Runtime.establishStackSpace which sets up the stack area for the asm.js module. Call this at thread creation to properly message STACKMAX to asm.js code for created pthreads.
juj
committed
9cd234c
View commit details
Copy full SHA for 9cd234c
View code at this point
Browse repository at this point
Commit initial working implementation of basic pthreading support with thread creation, atomics and mutexes. Link your application with -lpthread to use it. Implement a custom Emscripten API for ca…
Show description for cffba53
juj
committed
cffba53
View commit details
Copy full SHA for cffba53
View code at this point
Browse repository at this point
Loading
Back
|
FazBrowse Home
|
New Git URL