Skip to content

Commit 3c0f01e

Browse files
committed
Remove dead code 'schedule(...)'
1 parent 5458833 commit 3c0f01e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

rt/src/Scheduler.mts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,6 @@ export class Scheduler implements SchedulerInterface {
144144
return newPid;
145145
}
146146

147-
/** Schedule the given function as the very next thing to be run on the current thread. */
148-
schedule(f: () => any, args: any, namespace: any) {
149-
this.__currentThread.runNext(f, args, namespace);
150-
this.scheduleThread(this.__currentThread);
151-
}
152-
153147
/*************************************************************************************************\
154148
Thread access
155149
\*************************************************************************************************/

rt/src/SchedulerInterface.mts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export interface SchedulerInterface {
99

1010
scheduleNewThreadAtLevel(fun: () => any, arg: any, pc: Level, block: Level): LVal;
1111
scheduleThread(t: Thread): void;
12-
schedule(fun: () => any, args: any[], namespace: any): void;
1312

1413
blockThread(t: Thread): void;
1514
unblockThread(tid: LVal): void;

0 commit comments

Comments
 (0)