Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.469 kb
#ifndef RBX_SIGNAL_HPP
#define RBX_SIGNAL_HPP
#include "util/thread.hpp"
#include <list>
namespace rubinius {
class VM;
struct CallFrame;
class SignalHandler {
VM* vm_;
std::list<int> pending_signals_;
thread::SpinLock lock_;
public:
SignalHandler(VM* vm);
void add_signal(int sig, bool def=false);
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.