diff options
author | Mikulas Patocka <[email protected]> | 2009-01-06 03:04:54 +0000 |
---|---|---|
committer | Alasdair G Kergon <[email protected]> | 2009-01-06 03:04:54 +0000 |
commit | 90fa1527bddc7147dc0d590ee6184ca88bc50ecf (patch) | |
tree | a6b692b5a7ef777cbd8f2927783f593234b091d1 /lib/string_helpers.c | |
parent | a1b51e98676932d031f5eec1325b2df4bbdc8f26 (diff) |
dm snapshot: change yield to msleep
Change yield() to msleep(1). If the thread had realtime priority,
yield() doesn't really yield, so the yielding process would loop
indefinitely and cause machine lockup.
Signed-off-by: Mikulas Patocka <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions