Changeset 07b39338 in mainline for uspace/lib/posix/signal.c


Ignore:
Timestamp:
2011-08-20T18:21:49Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ab014d
Parents:
0cf27ee (diff), f00af83 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libposix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/signal.c

    r0cf27ee r07b39338  
    136136}
    137137
    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.
    141142 */
    142143void __posix_hold_signal_handler(int signo)
     
    145146}
    146147
    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.
    150152 */
    151153void __posix_ignore_signal_handler(int signo)
     
    154156}
    155157
    156 /** Clear the signal set.
     158/**
     159 * Clear the signal set.
    157160 *
    158161 * @param set Pointer to the signal set.
     
    167170}
    168171
    169 /** Fill the signal set (i.e. add all signals).
     172/**
     173 * Fill the signal set (i.e. add all signals).
    170174 *
    171175 * @param set Pointer to the signal set.
     
    180184}
    181185
    182 /** Add a signal to the set.
     186/**
     187 * Add a signal to the set.
    183188 *
    184189 * @param set Pointer to the signal set.
     
    194199}
    195200
    196 /** Delete a signal from the set.
     201/**
     202 * Delete a signal from the set.
    197203 *
    198204 * @param set Pointer to the signal set.
     
    208214}
    209215
    210 /** Inclusion test for a signal set.
     216/**
     217 * Inclusion test for a signal set.
    211218 *
    212219 * @param set Pointer to the signal set.
     
    221228}
    222229
    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.
    226234 *
    227235 * @param sig
     
    243251}
    244252
    245 /** Sets a new action for the given signal number.
     253/**
     254 * Sets a new action for the given signal number.
    246255 *
    247256 * @param sig Signal number to set action for.
     
    276285}
    277286
    278 /** Sets a new handler for the given signal number.
     287/**
     288 * Sets a new handler for the given signal number.
    279289 *
    280290 * @param sig Signal number to set handler for.
     
    304314} signal_queue_item;
    305315
    306 /** Queue blocked signal.
     316/**
     317 * Queue blocked signal.
    307318 *
    308319 * @param signo Signal number.
     
    322333
    323334
    324 /** Executes an action associated with the given signal.
     335/**
     336 * Executes an action associated with the given signal.
    325337 *
    326338 * @param signo Signal number.
     
    366378}
    367379
    368 /** Raise all unblocked previously queued signals.
     380/**
     381 * Raise all unblocked previously queued signals.
    369382 */
    370383static void _dequeue_unblocked_signals()
     
    390403}
    391404
    392 /** Raise a signal for the calling process.
     405/**
     406 * Raise a signal for the calling process.
    393407 *
    394408 * @param sig Signal number.
     
    409423}
    410424
    411 /** Raises a signal for a selected process.
     425/**
     426 * Raises a signal for a selected process.
    412427 *
    413428 * @param pid PID of the process for which the signal shall be raised.
     
    446461}
    447462
    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.
    450466 *
    451467 * @param pid PID of the process group.
     
    459475}
    460476
    461 /** Outputs information about the signal to the standard error stream.
     477/**
     478 * Outputs information about the signal to the standard error stream.
    462479 *
    463480 * @param pinfo SigInfo struct to write.
     
    471488}
    472489
    473 /** Outputs information about the signal to the standard error stream.
     490/**
     491 * Outputs information about the signal to the standard error stream.
    474492 *
    475493 * @param signum Signal number.
     
    486504}
    487505
    488 /** Manipulate the signal mask of the calling thread.
     506/**
     507 * Manipulate the signal mask of the calling thread.
    489508 *
    490509 * @param how What to do with the mask.
     
    525544}
    526545
    527 /** Manipulate the signal mask of the process.
     546/**
     547 * Manipulate the signal mask of the process.
    528548 *
    529549 * @param how What to do with the mask.
Note: See TracChangeset for help on using the changeset viewer.