ruby/internal/signal.h
Nobuyoshi Nakada 3ac6a03b2e
Revert "hijack SIGCHLD handler for internal use"
This reverts commit 054a412d540e7ed2de63d68da753f585ea6616c3.
SIGCHLD `waidpid`, `waitpid_lock` and related code, have been removed
at ruby/ruby#7527.
2024-04-04 21:48:14 +09:00

25 lines
795 B
C

#ifndef INTERNAL_SIGNAL_H /*-*-C-*-vi:se ft=c:*/
#define INTERNAL_SIGNAL_H
/**
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
* Permission is hereby granted, to either redistribute and/or
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
* @brief Internal header for SignalException.
*/
/* signal.c */
extern int ruby_enable_coredump;
int rb_get_next_signal(void);
#ifdef POSIX_SIGNAL
void (*ruby_posix_signal(int, void (*)(int)))(int);
#endif
RUBY_SYMBOL_EXPORT_BEGIN
/* signal.c (export) */
RUBY_SYMBOL_EXPORT_END
#endif /* INTERNAL_SIGNAL_H */