mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 00:17:57 +03:00
[cmdline] Rewrite "sync" command to use monojob_wait()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
14
src/include/usr/sync.h
Normal file
14
src/include/usr/sync.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _USR_SYNC_H
|
||||
#define _USR_SYNC_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Wait for pending operations to complete
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
extern int sync ( unsigned long timeout );
|
||||
|
||||
#endif /* _USR_SYNC_H */
|
||||
Reference in New Issue
Block a user