Skip to content

Commit af7b27b

Browse files
committed
---
yaml --- r: 3842 b: refs/heads/master c: a9b77a5 h: refs/heads/master v: v3
1 parent dc7beaf commit af7b27b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 0be1a0b500b1519a3ee7c4c92f96b4a3914b3858
2+
refs/heads/master: a9b77a5011b6e7f57a403f3a4d334da6190a1d49

trunk/src/rt/rust_upcall.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ upcall_free(rust_task *task, void* ptr, uintptr_t is_gc) {
292292
extern "C" CDECL uintptr_t
293293
upcall_shared_malloc(rust_task *task, size_t nbytes, type_desc *td) {
294294
LOG_UPCALL_ENTRY(task);
295-
scoped_lock with(task->kernel->scheduler_lock);
296295

297296
LOG(task, mem,
298297
"upcall shared_malloc(%" PRIdPTR ", 0x%" PRIxPTR ")",
@@ -311,7 +310,7 @@ upcall_shared_malloc(rust_task *task, size_t nbytes, type_desc *td) {
311310
extern "C" CDECL void
312311
upcall_shared_free(rust_task *task, void* ptr) {
313312
LOG_UPCALL_ENTRY(task);
314-
scoped_lock with(task->kernel->scheduler_lock);
313+
315314
rust_scheduler *sched = task->sched;
316315
DLOG(sched, mem,
317316
"upcall shared_free(0x%" PRIxPTR")",

0 commit comments

Comments
 (0)