Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/include/schedctl.h
Real path: /usr/include/schedctl.h
Zurück
/* * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved. */ #ifndef _SCHEDCTL_H #define _SCHEDCTL_H #ifdef __cplusplus extern "C" { #endif #include <sys/schedctl.h> typedef sc_public_t schedctl_t; extern void yield(void); #define schedctl_start(p) \ (void) (((p) == NULL)? 0 : \ ((((schedctl_t *)(p))->sc_nopreempt = 1), 0)) #define schedctl_stop(p) \ (void) (((p) == NULL)? 0 : \ ((((schedctl_t *)(p))->sc_nopreempt = 0), \ (((schedctl_t *)(p))->sc_yield? (yield(), 0) : 0))) /* * libsched API */ schedctl_t *schedctl_init(void); schedctl_t *schedctl_lookup(void); void schedctl_exit(void); #ifdef __cplusplus } #endif #endif /* _SCHEDCTL_H */