OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [posix/] [src/] [pthreadatfork.c] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  pthread_atfork() - POSIX 1003.1b 3.1.3
3
 *
4
 *  3.1.3 Register Fork Handlers, P1003.1c/Draft 10, P1003.1c/Draft 10, p. 27
5
 *
6
 *  RTEMS does not support processes, so we fall under this and do not
7
 *  provide this routine:
8
 *
9
 *  "Either the implementation shall support the pthread_atfork() function
10
 *   as described above or the pthread_atfork() funciton shall not be
11
 *   provided."
12
 *
13
 *  pthreadatfork.c,v 1.3 2001/01/24 14:17:28 joel Exp
14
 */
15
 
16
#if HAVE_CONFIG_H
17
#include "config.h"
18
#endif
19
 
20
#include <sys/types.h>
21
#include <errno.h>
22
 
23
int pthread_atfork(
24
  void (*prepare)(void),
25
  void (*parent)(void),
26
  void (*child)(void)
27
)
28
{
29
  errno = ENOSYS;
30
  return -1;
31
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.