Changeset 1b20da0 in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 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:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    rdf6ded8 r1b20da0  
    546546
    547547/** Interrupts an existing thread so that it may exit as soon as possible.
    548  * 
    549  * Threads that are blocked waiting for a synchronization primitive 
     548 *
     549 * Threads that are blocked waiting for a synchronization primitive
    550550 * are woken up with a return code of EINTR if the
    551551 * blocking call was interruptable. See waitq_sleep_timeout().
    552  * 
     552 *
    553553 * The caller must guarantee the thread object is valid during the entire
    554554 * function, eg by holding the threads_lock lock.
    555  * 
     555 *
    556556 * Interrupted threads automatically exit when returning back to user space.
    557  * 
     557 *
    558558 * @param thread A valid thread object. The caller must guarantee it
    559559 *               will remain valid until thread_interrupt() exits.
     
    575575
    576576/** Returns true if the thread was interrupted.
    577  * 
     577 *
    578578 * @param thread A valid thread object. User must guarantee it will
    579579 *               be alive during the entire call.
     
    693693 * @param usec Number of microseconds to sleep.
    694694 *
    695  */     
     695 */
    696696void thread_usleep(uint32_t usec)
    697697{
Note: See TracChangeset for help on using the changeset viewer.