Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.452 kB
#ifndef RBX_SIGNAL_HPP
#define RBX_SIGNAL_HPP
#include "util/thread.hpp"
#include <list>
namespace rubinius {
class VM;
class CallFrame;
class SignalHandler {
VM* vm_;
std::list<int> pending_signals_;
thread::SpinLock lock_;
public:
SignalHandler(VM* vm);
void add_signal(int sig);
void handle_signal(int sig);
static void signal_tramp(int sig);
void deliver_signals(CallFrame* call_frame);
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.