Sha256: 60d97358f9ebb108a67faa08b72fd2a3c5c4d5377d95b6471832cddd72a458f5

Contents?: true

Size: 324 Bytes

Versions: 55

Compression:

Stored size: 324 Bytes

Contents

#include "ruby.h"
#include "zkrb_wrapper_compat.h"


VALUE zkrb_thread_blocking_region(zkrb_blocking_function_t *func, void *data1) {

#ifdef HAVE_RB_THREAD_BLOCKING_REGION
  return rb_thread_blocking_region((rb_blocking_function_t *)func, data1, RUBY_UBF_IO, 0);
#else
  return func(data1);
#endif

}

// vim:sts=2:sw=2:et

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
zookeeper-1.5.5 ext/zkrb_wrapper_compat.c
zookeeper-1.5.5-java ext/zkrb_wrapper_compat.c
zookeeper-1.5.4 ext/zkrb_wrapper_compat.c
zookeeper-1.5.4-java ext/zkrb_wrapper_compat.c
zookeeper-1.5.3 ext/zkrb_wrapper_compat.c
zookeeper-1.5.3-java ext/zkrb_wrapper_compat.c
zookeeper-ng-1.5.2.1 ext/zkrb_wrapper_compat.c
zookeeper-ng-1.5.2.1-java ext/zkrb_wrapper_compat.c
zookeeper-1.5.1-java ext/zkrb_wrapper_compat.c
zookeeper-1.5.1 ext/zkrb_wrapper_compat.c
zookeeper-1.5.0-java ext/zkrb_wrapper_compat.c
zookeeper-1.5.0 ext/zkrb_wrapper_compat.c
zookeeper-ng-1.5 ext/zkrb_wrapper_compat.c
zookeeper-1.4.11 ext/zkrb_wrapper_compat.c
zookeeper-1.4.11-java ext/zkrb_wrapper_compat.c
zookeeper-1.4.10 ext/zkrb_wrapper_compat.c
zookeeper-1.4.10-java ext/zkrb_wrapper_compat.c
zookeeper-1.4.9 ext/zkrb_wrapper_compat.c
zookeeper-1.4.9-java ext/zkrb_wrapper_compat.c
zookeeper-1.4.8 ext/zkrb_wrapper_compat.c