Skip to content

Commit 24591c9

Browse files
authored
Remove __atomic_is_lock_free. NFC (#16144)
I believe all the other functions in this family were already removed back in 2a57fd9.
1 parent a1a7559 commit 24591c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/library_pthread.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -892,10 +892,6 @@ var LibraryPThread = {
892892
return 0;
893893
},
894894

895-
__atomic_is_lock_free: function(size, ptr) {
896-
return size <= 4 && (size & (size-1)) == 0 && (ptr&(size-1)) == 0;
897-
},
898-
899895
__call_main__deps: ['exit', '$exitOnMainThread'],
900896
__call_main: function(argc, argv) {
901897
var returnCode = {{{ exportedAsmFunc('_main') }}}(argc, argv);

0 commit comments

Comments
 (0)