Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155749
b: refs/heads/master
c: 9ae2602
h: refs/heads/master
i:
  155747: b39c772
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jul 27, 2009
1 parent 85280c6 commit c988cde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6560dc160f3a96b8f1f43e2c6b51aa6eb9898b90
refs/heads/master: 9ae260270c90643156cda73427aa1f04c923e627
10 changes: 6 additions & 4 deletions trunk/kernel/kthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,12 @@ EXPORT_SYMBOL(kthread_bind);
* @k: thread created by kthread_create().
*
* Sets kthread_should_stop() for @k to return true, wakes it, and
* waits for it to exit. Your threadfn() must not call do_exit()
* itself if you use this function! This can also be called after
* kthread_create() instead of calling wake_up_process(): the thread
* will exit without calling threadfn().
* waits for it to exit. This can also be called after kthread_create()
* instead of calling wake_up_process(): the thread will exit without
* calling threadfn().
*
* If threadfn() may call do_exit() itself, the caller must ensure
* task_struct can't go away.
*
* Returns the result of threadfn(), or %-EINTR if wake_up_process()
* was never called.
Expand Down

0 comments on commit c988cde

Please sign in to comment.