Example #1
0
/* We have to provide a default version of this function since the
   standards demand it.  The version which is a bit more reasonable is
   the BSD version.  So make this the default.  */
int sigpause (int mask)
{
#ifdef __UCLIBC_HAS_THREADS_NATIVE__
    if (SINGLE_THREAD_P)
        return __sigpause (mask, 0);

    int oldtype = LIBC_CANCEL_ASYNC ();

    int result = __sigpause (mask, 0);

    LIBC_CANCEL_RESET (oldtype);

    return result;
#else
    return __sigpause (mask, 0);
#endif
}
Example #2
0
File: pause.c Project: OPSF/uClinux
int __libc_pause(void)
{
	return (__sigpause(sigblock(0), 0));
}
Example #3
0
__xpg_sigpause (int sig)
{
  return __sigpause (sig, 1);
}
Example #4
0
__default_sigpause (int mask)
{
  return __sigpause (mask, 0);
}
Example #5
0
/* libc_hidden_proto(sigpause) */
int sigpause (int mask)
{
  return __sigpause (mask, 0);
}