Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrew Paprocki apaprocki

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