Skip to content

Commit 0a2ec6b

Browse files
committed
kernel: Implement sys_nice()
1 parent 5778f0a commit 0a2ec6b

File tree

27 files changed

+78
-7688
lines changed

27 files changed

+78
-7688
lines changed

apps/api/libs/rtl/include/rtl/gramado.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,7 @@ rtl_load_path (
315315

316316
ssize_t rtl_console_beep(void);
317317

318-
void rtl_broken_vessels(void);
319-
318+
void rtl_nice(void);
320319

321320
// Clone and execute a process.
322321
int rtl_clone_and_execute(const char *name);

apps/api/libs/rtl/osrtl/rtl.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,14 +2092,10 @@ ssize_t rtl_console_beep(void)
20922092
1 );
20932093
}
20942094

2095-
// Nice.
2096-
// Raising up the broken to life.
2097-
void rtl_broken_vessels(void)
2098-
{
2095+
void rtl_nice(void){
20992096
sc82( 777, 0, 0, 0 );
21002097
}
21012098

2102-
21032099
// OUT: Child's PID.
21042100
static int
21052101
__rtl_clone_and_execute_imp(

apps/term00/main.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3823,13 +3823,6 @@ int terminal_init(unsigned short flags)
38233823
__get_ds_event( client_fd, main_window );
38243824
};
38253825

3826-
//
3827-
// Be nice
3828-
//
3829-
3830-
// #test (777)
3831-
//rtl_broken_vessels();
3832-
38333826
// Input loop!
38343827
// local routine.
38353828
//int InputStatus=-1;

0 commit comments

Comments
 (0)