Changeset 636 for trunk/user/ksh
- Timestamp:
- Jul 1, 2019, 9:34:16 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/ksh/ksh.c
r635 r636 6 6 // This application implements a minimal shell for ALMOS-MKH. 7 7 // 8 // This user KSHprocess contains two POSIX threads:8 // This user process contains two POSIX threads: 9 9 // - the "main" thread contains the infinite loop implementing 10 10 // the children processes termination monitoring, using the wait() syscall. … … 1186 1186 char cmd[CMD_MAX_SIZE]; // buffer for one command 1187 1187 1188 / *1. first direct command1188 // 1. first direct command 1189 1189 if( sem_wait( &semaphore ) ) 1190 1190 { … … 1199 1199 strcpy( cmd , "load bin/user/sort.elf" ); 1200 1200 execute( cmd ); 1201 */1202 1203 1204 1205 / *2. second direct command1201 // 1202 1203 1204 1205 // 2. second direct command 1206 1206 if( sem_wait( &semaphore ) ) 1207 1207 { … … 1216 1216 strcpy( cmd , "load bin/user/fft.elf" ); 1217 1217 execute( cmd ); 1218 */1218 // 1219 1219 1220 1220
Note: See TracChangeset
for help on using the changeset viewer.