Skip to content

Instantly share code, notes, and snippets.

View apaprocki's full-sized avatar

Andrew Paprocki apaprocki

  • Bloomberg L.P.
  • New York, NY
View GitHub Profile
@apaprocki
apaprocki / v8_terminateexception_with_trycatch.cc
Created October 12, 2012 15:17
V8::TerminateException with TryCatch
#include <pthread.h>
#include <unistd.h>
#include <iostream>
#include <v8.h>
using namespace v8;
static void *run(void *ptr) {