File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ tcb_t *user_thread(clone_args_t *args);
127127int thread_join (tcb_t * tcb );
128128void thread_exit (int exit_status );
129129void clean_thread (tcb_t * tcb );
130- SYSCALL_DECLARE (thread_yield , void );
130+ SYSCALL_DECLARE (sched_yield , void );
131131
132132void * thread_idle (void * dummy );
133133
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ void *thread_idle(void *dummy)
339339/*
340340 * Yield to another thread, i.e. simply invoke a call to schedule()
341341 */
342- SYSCALL_DEFINE0 (thread_yield )
342+ SYSCALL_DEFINE0 (sched_yield )
343343{
344344 schedule ();
345345 return 0 ;
Original file line number Diff line number Diff line change 3838mmap2
3939nanosleep
4040futex
41+ sched_yield
4142pipe IPC_PIPE
4243pipe2 IPC_PIPE
4344rt_sigaction IPC_SIGNAL
You can’t perform that action at this time.
0 commit comments