cregit-Linux how code gets into the kernel

Release 4.14 sound/oss/sleep.h

Directory: sound/oss
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/wait.h>

/*
 * Do not use. This is a replacement for the old
 * "interruptible_sleep_on_timeout" function that has been
 * deprecated for ages. All users should instead try to use
 * wait_event_interruptible_timeout.
 */


static inline long oss_broken_sleep_on(wait_queue_head_t *q, long timeout) { DEFINE_WAIT(wait); prepare_to_wait(q, &wait, TASK_INTERRUPTIBLE); timeout = schedule_timeout(timeout); finish_wait(q, &wait); return timeout; }

Contributors

PersonTokensPropCommitsCommitProp
Arnd Bergmann47100.00%1100.00%
Total47100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Arnd Bergmann5198.08%150.00%
Greg Kroah-Hartman11.92%150.00%
Total52100.00%2100.00%
Directory: sound/oss
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.