1*a5511fa9Sguenther /* $OpenBSD: rthread_cb.h,v 1.3 2017/09/05 02:40:54 guenther Exp $ */ 2fe38b55cSguenther /* 3fe38b55cSguenther * Copyright (c) 2016 Philip Guenther <guenther@openbsd.org> 4fe38b55cSguenther * All Rights Reserved. 5fe38b55cSguenther * 6fe38b55cSguenther * Permission to use, copy, modify, and distribute this software for any 7fe38b55cSguenther * purpose with or without fee is hereby granted, provided that the above 8fe38b55cSguenther * copyright notice and this permission notice appear in all copies. 9fe38b55cSguenther * 10fe38b55cSguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11fe38b55cSguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12fe38b55cSguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13fe38b55cSguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14fe38b55cSguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15fe38b55cSguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16fe38b55cSguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17fe38b55cSguenther */ 18fe38b55cSguenther 19fe38b55cSguenther __BEGIN_HIDDEN_DECLS 20fe38b55cSguenther pid_t _thread_fork(void); 21fe38b55cSguenther pid_t _thread_vfork(void); 22fe38b55cSguenther __END_HIDDEN_DECLS 23