doc: Update doc/chopstx-api.texi.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka
2020-06-24 10:54:43 +09:00
parent afd1339c58
commit 0e5342b54f

View File

@@ -230,3 +230,10 @@ clock.
Return previous value of @var{enable_sleep}. Return previous value of @var{enable_sleep}.
@end deftypefun @end deftypefun
@subheading chopstx_critical
@anchor{chopstx_critical}
@deftypefun {void *} {chopstx_critical} (void *func (void * @var{})
Run the function @var{func} with @var{arg} under CPU schedule lock.
Return void * pointer.
@end deftypefun