Changes in uspace/lib/posix/signal.c [55b1efd:4419c34] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/signal.c
r55b1efd r4419c34 136 136 } 137 137 138 /** 139 * Just an empty function to get an unique pointer value for comparison. 140 * 141 * @param signo Signal number. 138 /** Just an empty function to get an unique pointer value for comparison. 139 * 140 * @param signo 142 141 */ 143 142 void __posix_hold_signal_handler(int signo) … … 146 145 } 147 146 148 /** 149 * Empty function to be used as ignoring handler. 150 * 151 * @param signo Signal number. 147 /** Empty function to be used as ignoring handler. 148 * 149 * @param signo 152 150 */ 153 151 void __posix_ignore_signal_handler(int signo) … … 156 154 } 157 155 158 /** 159 * Clear the signal set. 156 /** Clear the signal set. 160 157 * 161 158 * @param set Pointer to the signal set. … … 170 167 } 171 168 172 /** 173 * Fill the signal set (i.e. add all signals). 169 /** Fill the signal set (i.e. add all signals). 174 170 * 175 171 * @param set Pointer to the signal set. … … 184 180 } 185 181 186 /** 187 * Add a signal to the set. 182 /** Add a signal to the set. 188 183 * 189 184 * @param set Pointer to the signal set. … … 199 194 } 200 195 201 /** 202 * Delete a signal from the set. 196 /** Delete a signal from the set. 203 197 * 204 198 * @param set Pointer to the signal set. … … 214 208 } 215 209 216 /** 217 * Inclusion test for a signal set. 210 /** Inclusion test for a signal set. 218 211 * 219 212 * @param set Pointer to the signal set. … … 228 221 } 229 222 230 /** 231 * Unsafe variant of the sigaction() function. 232 * Doesn't do any checking of its arguments and 233 * does not deal with thread-safety. 223 /** Unsafe variant of the sigaction() function. 224 * Doesn't do any checking of its arguments and 225 * does not deal with thread-safety. 234 226 * 235 227 * @param sig … … 251 243 } 252 244 253 /** 254 * Sets a new action for the given signal number. 245 /** Sets a new action for the given signal number. 255 246 * 256 247 * @param sig Signal number to set action for. … … 285 276 } 286 277 287 /** 288 * Sets a new handler for the given signal number. 278 /** Sets a new handler for the given signal number. 289 279 * 290 280 * @param sig Signal number to set handler for. … … 314 304 } signal_queue_item; 315 305 316 /** 317 * Queue blocked signal. 306 /** Queue blocked signal. 318 307 * 319 308 * @param signo Signal number. … … 333 322 334 323 335 /** 336 * Executes an action associated with the given signal. 324 /** Executes an action associated with the given signal. 337 325 * 338 326 * @param signo Signal number. … … 378 366 } 379 367 380 /** 381 * Raise all unblocked previously queued signals. 368 /** Raise all unblocked previously queued signals. 382 369 */ 383 370 static void _dequeue_unblocked_signals() … … 403 390 } 404 391 405 /** 406 * Raise a signal for the calling process. 392 /** Raise a signal for the calling process. 407 393 * 408 394 * @param sig Signal number. … … 423 409 } 424 410 425 /** 426 * Raises a signal for a selected process. 411 /** Raises a signal for a selected process. 427 412 * 428 413 * @param pid PID of the process for which the signal shall be raised. … … 461 446 } 462 447 463 /** 464 * Send a signal to a process group. Always fails at the moment because of 465 * lack of this functionality in HelenOS. 448 /** Send a signal to a process group. Always fails at the moment because of 449 * lack of this functionality in HelenOS. 466 450 * 467 451 * @param pid PID of the process group. … … 475 459 } 476 460 477 /** 478 * Outputs information about the signal to the standard error stream. 461 /** Outputs information about the signal to the standard error stream. 479 462 * 480 463 * @param pinfo SigInfo struct to write. … … 488 471 } 489 472 490 /** 491 * Outputs information about the signal to the standard error stream. 473 /** Outputs information about the signal to the standard error stream. 492 474 * 493 475 * @param signum Signal number. … … 504 486 } 505 487 506 /** 507 * Manipulate the signal mask of the calling thread. 488 /** Manipulate the signal mask of the calling thread. 508 489 * 509 490 * @param how What to do with the mask. … … 544 525 } 545 526 546 /** 547 * Manipulate the signal mask of the process. 527 /** Manipulate the signal mask of the process. 548 528 * 549 529 * @param how What to do with the mask.
Note:
See TracChangeset
for help on using the changeset viewer.