Skip to content

Instantly share code, notes, and snippets.

@ywkaras
Created June 3, 2019 22:02
Show Gist options
  • Save ywkaras/a5536e902df9693ed2a52e1d43110ede to your computer and use it in GitHub Desktop.
Save ywkaras/a5536e902df9693ed2a52e1d43110ede to your computer and use it in GitHub Desktop.
grep for threadKey variable in source files in plugins/esi
M$ fgrep threadKey *.[ch]*
combo_handler.cc:pthread_key_t threadKey = 0;
combo_handler.cc: TSReleaseAssert(pthread_key_create(&threadKey, nullptr) == 0);
esi.cc:pthread_key_t threadKey = 0;
esi.cc: if (threadKey == 0) {
esi.cc: if ((result = pthread_key_create(&threadKey, nullptr)) != 0) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment