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