view release on metacpan or search on metacpan
my $graal = $ffi->function(
'graal_create_isolate',
['opaque', 'opaque*', 'opaque*'],
'int',
)->( undef, \my $isolate, \my $thread);
is $graal, 0, 'Can create GraalVM isolate';
my $load = $ffi->function(
'load_ys_to_json',
['sint64', 'string'] => 'string',
sub {
my ($xsub, $ys) = @_;
decode_json $xsub->($thread, $ys);
},
);
is $load->(<<'...'),
!YS-v0:
view all matches for this distribution
view release on metacpan or search on metacpan
files/zeromq-3.2.4-no-tests.patch view on Meta::CPAN
This patch prevents the tests from being built. This is required for platforms that do not support pthreads.
--- a/Makefile.in
+++ b/Makefile.in
@@ -278,8 +278,8 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
view all matches for this distribution
view release on metacpan or search on metacpan
print 'dist_dir: '.Alien::bc::GNU->dist_dir."\n";
print 'install_type: '.Alien::bc::GNU->install_type."\n";
print 'version: '.Alien::bc::GNU->version."\n";
# Output like (share):
# bin_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-bc-GNU/bin
# dist_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-bc-GNU
# install_type: share
# version: 1.07.1
# Output like (system):
# dist_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-bc-GNU
# install_type: system
# version: 1.07.1
=head1 DEPENDENCIES
view all matches for this distribution
view release on metacpan or search on metacpan
include/boost/config/platform/vms.hpp
include/boost/config/platform/vxworks.hpp
include/boost/config/platform/win32.hpp
include/boost/config/platform/zos.hpp
include/boost/config/pragma_message.hpp
include/boost/config/requires_threads.hpp
include/boost/config/stdlib/dinkumware.hpp
include/boost/config/stdlib/libcomo.hpp
include/boost/config/stdlib/libcpp.hpp
include/boost/config/stdlib/libstdcpp3.hpp
include/boost/config/stdlib/modena.hpp
include/boost/container/detail/pool_common.hpp
include/boost/container/detail/pool_common_alloc.hpp
include/boost/container/detail/pool_resource.hpp
include/boost/container/detail/singleton.hpp
include/boost/container/detail/std_fwd.hpp
include/boost/container/detail/thread_mutex.hpp
include/boost/container/detail/transform_iterator.hpp
include/boost/container/detail/tree.hpp
include/boost/container/detail/type_traits.hpp
include/boost/container/detail/value_functors.hpp
include/boost/container/detail/value_init.hpp
view all matches for this distribution
view release on metacpan or search on metacpan
libcares/ltmain.sh
libcares/m4/ax_check_user_namespace.m4
libcares/m4/ax_check_uts_namespace.m4
libcares/m4/ax_code_coverage.m4
libcares/m4/ax_cxx_compile_stdcxx_11.m4
libcares/m4/ax_pthread.m4
libcares/m4/cares-compilers.m4
libcares/m4/cares-confopts.m4
libcares/m4/cares-functions.m4
libcares/m4/cares-override.m4
libcares/m4/cares-reentrant.m4
view all matches for this distribution
view release on metacpan or search on metacpan
src/catch.hpp view on Meta::CPAN
/// Note that, because a StringRef may be a substring of another string,
/// it may not be null terminated. c_str() must return a null terminated
/// string, however, and so the StringRef will internally take ownership
/// (taking a copy), if necessary. In theory this ownership is not externally
/// visible - but it does mean (substring) StringRefs should not be shared between
/// threads.
class StringRef {
public:
using size_type = std::size_t;
private:
src/catch.hpp view on Meta::CPAN
bool MessageInfo::operator<( MessageInfo const& other ) const {
return sequence < other.sequence;
}
// This may need protecting if threading support is added
unsigned int MessageInfo::globalCount = 0;
////////////////////////////////////////////////////////////////////////////
Catch::MessageBuilder::MessageBuilder( StringRef const& macroName,
view all matches for this distribution
view release on metacpan or search on metacpan
print 'dist_dir: '.Alien::ed::GNU->dist_dir."\n";
print 'install_type: '.Alien::ed::GNU->install_type."\n";
print 'version: '.Alien::ed::GNU->version."\n";
# Output like (share):
# bin_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-ed-GNU/bin
# dist_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-ed-GNU
# install_type: share
# version: 1.17
# Output like (system):
# dist_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-ed-GNU
# install_type: system
# version: 1.17
=head1 DEPENDENCIES
view all matches for this distribution
view release on metacpan or search on metacpan
patch/flex-2.6.4.diff view on Meta::CPAN
+#endif
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
+#endif
+/* Enable extensions on HP NonStop. */
+#ifndef _TANDEM_SOURCE
patch/flex-2.6.4.diff view on Meta::CPAN
/** Possible values for td_id field. Each one corresponds to a
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2cb51df..f5a5ad0 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -333,7 +333,7 @@ pthread_pthread_LDADD = @LIBPTHREAD@
# specify how to process .l files in order to test the flex built by make all
-FLEX = $(top_builddir)/src/flex
+FLEX = $(FLEXexe)
patch/flex-2.6.4.diff view on Meta::CPAN
+ ./$(DEPDIR)/multiple_scanners_r_1.Po \
+ ./$(DEPDIR)/multiple_scanners_r_2.Po \
+ ./$(DEPDIR)/multiple_scanners_r_main.Po \
+ ./$(DEPDIR)/no_bison_stub.Po ./$(DEPDIR)/posix.Po \
+ ./$(DEPDIR)/posixly_correct.Po ./$(DEPDIR)/prefix_nr.Po \
+ ./$(DEPDIR)/prefix_r.Po ./$(DEPDIR)/pthread.Po \
+ ./$(DEPDIR)/quote_in_comment.Po ./$(DEPDIR)/quotes.Po \
+ ./$(DEPDIR)/rescan_nr.direct.Po ./$(DEPDIR)/rescan_r.direct.Po \
+ ./$(DEPDIR)/string_nr.Po ./$(DEPDIR)/string_r.Po \
+ ./$(DEPDIR)/top.Po ./$(DEPDIR)/top_main.Po \
+ ./$(DEPDIR)/yyextra.Po
patch/flex-2.6.4.diff view on Meta::CPAN
-runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
@@ -1640,135 +1687,135 @@ dist_check_SCRIPTS = \
pthread_pthread_LDADD = @LIBPTHREAD@
# specify how to process .l files in order to test the flex built by make all
-FLEX = $(top_builddir)/src/flex
+FLEX = $(FLEXexe)
tableopts_opt_nr_Ca_opt_SOURCES = tableopts.l4
patch/flex-2.6.4.diff view on Meta::CPAN
tableopts_opt_tests := $(foreach opt,$(tableopts), tableopts_opt_nr$(opt) tableopts_opt_r$(opt))
tableopts_sertests := $(foreach opt,$(tableopts), tableopts_ser_nr$(opt) tableopts_ser_r$(opt))
@@ -1785,7 +1832,7 @@ all: all-am
.SUFFIXES:
.SUFFIXES: .c .cc .cn .cn$(EXEEXT) .direct .direct$(EXEEXT) .i3 .i3$(EXEEXT) .l .ll .lll .lo .log .o .obj .one .one$(EXEEXT) .opt .opt$(EXEEXT) .pthread .pthread$(EXEEXT) .reject .reject$(EXEEXT) .ser .ser$(EXEEXT) .table .table$(EXEEXT) .trs .ver ....
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/tableopts.am $(am__configure_deps)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/tableopts.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
patch/flex-2.6.4.diff view on Meta::CPAN
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/no_bison_stub.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posix.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posixly_correct.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefix_nr.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefix_r.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quote_in_comment.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quotes.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rescan_nr.direct.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rescan_r.direct.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/string_nr.Po@am__quote@
patch/flex-2.6.4.diff view on Meta::CPAN
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/no_bison_stub.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posix.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posixly_correct.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefix_nr.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefix_r.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quote_in_comment.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quotes.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rescan_nr.direct.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rescan_r.direct.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/string_nr.Po@am__quote@ # am--include-marker
patch/flex-2.6.4.diff view on Meta::CPAN
+ -rm -f ./$(DEPDIR)/no_bison_stub.Po
+ -rm -f ./$(DEPDIR)/posix.Po
+ -rm -f ./$(DEPDIR)/posixly_correct.Po
+ -rm -f ./$(DEPDIR)/prefix_nr.Po
+ -rm -f ./$(DEPDIR)/prefix_r.Po
+ -rm -f ./$(DEPDIR)/pthread.Po
+ -rm -f ./$(DEPDIR)/quote_in_comment.Po
+ -rm -f ./$(DEPDIR)/quotes.Po
+ -rm -f ./$(DEPDIR)/rescan_nr.direct.Po
+ -rm -f ./$(DEPDIR)/rescan_r.direct.Po
+ -rm -f ./$(DEPDIR)/string_nr.Po
patch/flex-2.6.4.diff view on Meta::CPAN
+ -rm -f ./$(DEPDIR)/no_bison_stub.Po
+ -rm -f ./$(DEPDIR)/posix.Po
+ -rm -f ./$(DEPDIR)/posixly_correct.Po
+ -rm -f ./$(DEPDIR)/prefix_nr.Po
+ -rm -f ./$(DEPDIR)/prefix_r.Po
+ -rm -f ./$(DEPDIR)/pthread.Po
+ -rm -f ./$(DEPDIR)/quote_in_comment.Po
+ -rm -f ./$(DEPDIR)/quotes.Po
+ -rm -f ./$(DEPDIR)/rescan_nr.direct.Po
+ -rm -f ./$(DEPDIR)/rescan_r.direct.Po
+ -rm -f ./$(DEPDIR)/string_nr.Po
patch/flex-2.6.4.diff view on Meta::CPAN
index c1ac19e..497829e 100755
--- a/tests/tableopts.sh
+++ b/tests/tableopts.sh
@@ -17,7 +17,11 @@ tableopts_tables=""
for kind in opt ser ver ; do
for threading in nr r ; do
for opt in -Ca -Ce -Cf -CF -Cm -Cem -Cae -Caef -CaeF -Cam -Caem ; do
- testname=tableopts_${kind}_${threading}${opt}.${kind}
+ bare_opt=${opt#-}
+ # The filenames must work on case-insensitive filesystems.
+ bare_opt=`echo ${bare_opt}| sed 's/F$/_F/'`
+
+ testname=tableopts_${kind}_${threading}-${bare_opt}.${kind}
if [ "${TABLEOPTS_TESTS}" = "" ] ;then
TABLEOPTS_TESTS=${testname}
if [ "$kind" = "ser" ] || [ "$kind" = "ver" ] ; then
@@ -30,11 +34,10 @@ for kind in opt ser ver ; do
fi
fi
- bare_opt=${opt#-}
cat << EOF
tableopts_${kind}_${threading}_${bare_opt}_${kind}_SOURCES = tableopts.l4
-${testname}\$(EXEEXT): tableopts_${kind}_${threading}${opt}.\$(OBJEXT)
+${testname}\$(EXEEXT): tableopts_${kind}_${threading}-${bare_opt}.\$(OBJEXT)
\$(AM_V_CCLD)\$(LINK) -o \$@ \$<
EOF
diff --git a/tests/testwrapper-direct.sh b/tests/testwrapper-direct.sh
index 589ad33..9160501 100755
view all matches for this distribution
view release on metacpan or search on metacpan
patch/0001-lang-c-pkg-config-put-lsnappy-ljansson-etc-in-Libs.p.patch view on Meta::CPAN
-L/install/dir -lavro
Into this:
; pkg-config --libs --static avro-c
-L/install/dir -lavro -lzma -ljansson -lpthreads
Assuming those are needed to link statically.
---
lang/c/src/CMakeLists.txt | 7 +++++++
lang/c/src/avro-c.pc.in | 1 +
view all matches for this distribution
view release on metacpan or search on metacpan
maxminddb/README.md view on Meta::CPAN
cmake --build .
ctest -V .
cmake --build . --target install
```
When building with Visual Studio, you may build a multithreaded (MT/MTd)
runtime library, using the `MSVC_STATIC_RUNTIME` setting:
```bash
cmake -DMSVC_STATIC_RUNTIME=ON -DBUILD_SHARED_LIBS=OFF ..
```
view all matches for this distribution
view release on metacpan or search on metacpan
patch/macos.diff view on Meta::CPAN
@@ -113,8 +113,8 @@ valgrind: vendor libnewrelic.a
# We build the shared library at the top level, since it's easiest to just take
# the static library and have gcc wrap it in the appropriate shared library
# goop.
-libnewrelic.so: libnewrelic.a
- $(CC) -shared -pthread -o $@ -Wl,--whole-archive $^ -Wl,--no-whole-archive $(PCRE_LIBS) -ldl
+libnewrelic.dylib: libnewrelic.a
+ $(CC) -shared -pthread -o $@ -Wl,-all_load $^ $(PCRE_LIBS) -ldl
.PHONY: src-static
src-static:
@@ -131,10 +131,10 @@ tests-clean:
view all matches for this distribution
view release on metacpan or search on metacpan
src/panda/cast.h view on Meta::CPAN
namespace detail { namespace cast {
typedef std::map<intptr_t, ptrdiff_t> DynCastCacheMap;
template <class DERIVED, class BASE>
DynCastCacheMap& get_map () {
thread_local DynCastCacheMap* map;
if (!map) {
thread_local DynCastCacheMap _map;
map = &_map;
}
return *map;
}
view all matches for this distribution
view release on metacpan or search on metacpan
examples/alien_libpopt_variables.pl view on Meta::CPAN
print 'version: '.Alien::libpopt->version."\n";
# Output like (Debian 11.7 system popt library):
# cflags:
# cflags_static:
# dist_dir: /home/skim/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-libpopt
# libs: -L/usr/lib/x86_64-linux-gnu -lpopt
# libs_static: -L/usr/lib/x86_64-linux-gnu -lpopt
# version: 1.18
view all matches for this distribution
view release on metacpan or search on metacpan
print 'version: '.Alien::librpm->version."\n";
# Output like (Debian 11.7 system rpm library):
# cflags:
# cflags_static:
# dist_dir: ../perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-librpm
# libs: -lrpm -lrpmio
# libs_static: -lrpm -lrpmio -lpopt -lrt -lpthread -llzma -ldb -lbz2 -lz -llua5.2 -lzstd
# version: 4.16.1.2
=head1 DEPENDENCIES
L<Alien::Base>.
view all matches for this distribution
view release on metacpan or search on metacpan
plugin 'Extract' => 'tar.gz';
plugin 'Build::Autoconf';
plugin 'Build::Make' => 'gmake';
build [
'%{configure}', # --prefix=%{.install.prefix}', # --enable-threads=no',
'%{make}',
'%{make} install',
];
}
};
plugin 'Build::Autoconf';
plugin 'Build::Make' => 'gmake';
build [
#'mkdir build',
#'cd build',
'%{configure} --prefix=%{.install.prefix}', # --enable-threads=no',
'%{gmake} -j 10',
'%{gmake} install',
];
}
view all matches for this distribution
view release on metacpan or search on metacpan
libsecp256k1/include/secp256k1.h view on Meta::CPAN
* functions that the library will call when certain error states arise. See
* secp256k1_context_set_error_callback as well as
* secp256k1_context_set_illegal_callback for details. Future library versions
* may use context objects for additional purposes.
*
* A constructed context can safely be used from multiple threads
* simultaneously, but API calls that take a non-const pointer to a context
* need exclusive access to it. In particular this is the case for
* secp256k1_context_destroy, secp256k1_context_preallocated_destroy,
* and secp256k1_context_randomize.
*
view all matches for this distribution
view release on metacpan or search on metacpan
contrib/macos-cached.txt view on Meta::CPAN
"~/Library/Application Support/pypoetry"
"~/Library/Caches/pypoetry"
"~/Library/Caches/com.apple.python/Users/oliver/Library/Application Support/pypoetry"
"~/Library/Caches/com.apple.python/Users/oliver/perl5/lib/perl5/darwin-thread-multi-2level/auto/share/dist/Alien-poetry/venv/lib/python3.9/site-packages/poetry"
"~/perl5/lib/perl5/darwin-thread-multi-2level/auto/Alien/poetry"
"~/perl5/lib/perl5/darwin-thread-multi-2level/auto/share/dist/Alien-poetry"
find ~/Library -name pypoetry 2>/dev/null
find ~/Library -name poetry 2>/dev/null
find ~/perl5 -name pypoetry 2>/dev/null
find ~/perl5 -name poetry 2>/dev/null
view all matches for this distribution
view release on metacpan or search on metacpan
contrib/macos-cached.txt view on Meta::CPAN
"~/Library/Application Support/pypoetry"
"~/Library/Caches/pypoetry"
"~/Library/Caches/com.apple.python/Users/oliver/Library/Application Support/pypoetry"
"~/Library/Caches/com.apple.python/Users/oliver/perl5/lib/perl5/darwin-thread-multi-2level/auto/share/dist/Alien-poetry/venv/lib/python3.9/site-packages/poetry"
"~/perl5/lib/perl5/darwin-thread-multi-2level/auto/Alien/poetry"
"~/perl5/lib/perl5/darwin-thread-multi-2level/auto/share/dist/Alien-poetry"
find ~/Library -name pypoetry 2>/dev/null
find ~/Library -name poetry 2>/dev/null
find ~/perl5 -name pypoetry 2>/dev/null
find ~/perl5 -name poetry 2>/dev/null
view all matches for this distribution
view release on metacpan or search on metacpan
libuv/docs/code/queue-work/main.c
libuv/docs/code/ref-timer/main.c
libuv/docs/code/signal/main.c
libuv/docs/code/spawn/main.c
libuv/docs/code/tcp-echo-server/main.c
libuv/docs/code/thread-create/main.c
libuv/docs/code/tty-gravity/main.c
libuv/docs/code/tty/main.c
libuv/docs/code/udp-dhcp/main.c
libuv/docs/code/uvcat/main.c
libuv/docs/code/uvstop/main.c
libuv/docs/src/guide/eventloops.rst
libuv/docs/src/guide/filesystem.rst
libuv/docs/src/guide/introduction.rst
libuv/docs/src/guide/networking.rst
libuv/docs/src/guide/processes.rst
libuv/docs/src/guide/threads.rst
libuv/docs/src/guide/utilities.rst
libuv/docs/src/handle.rst
libuv/docs/src/idle.rst
libuv/docs/src/index.rst
libuv/docs/src/loop.rst
libuv/docs/src/static/favicon.ico
libuv/docs/src/static/logo.png
libuv/docs/src/static/loop_iteration.png
libuv/docs/src/stream.rst
libuv/docs/src/tcp.rst
libuv/docs/src/threading.rst
libuv/docs/src/threadpool.rst
libuv/docs/src/timer.rst
libuv/docs/src/tty.rst
libuv/docs/src/udp.rst
libuv/docs/src/upgrading.rst
libuv/docs/src/version.rst
libuv/include/uv/linux.h
libuv/include/uv/os390.h
libuv/include/uv/posix.h
libuv/include/uv/stdint-msvc2008.h
libuv/include/uv/sunos.h
libuv/include/uv/threadpool.h
libuv/include/uv/tree.h
libuv/include/uv/unix.h
libuv/include/uv/version.h
libuv/include/uv/win.h
libuv/libuv.pc.in
libuv/src/idna.h
libuv/src/inet.c
libuv/src/queue.h
libuv/src/strscpy.c
libuv/src/strscpy.h
libuv/src/threadpool.c
libuv/src/timer.c
libuv/src/unix/aix-common.c
libuv/src/unix/aix.c
libuv/src/unix/android-ifaddrs.c
libuv/src/unix/async.c
libuv/src/unix/posix-hrtime.c
libuv/src/unix/posix-poll.c
libuv/src/unix/process.c
libuv/src/unix/procfs-exepath.c
libuv/src/unix/proctitle.c
libuv/src/unix/pthread-fixes.c
libuv/src/unix/signal.c
libuv/src/unix/spinlock.h
libuv/src/unix/stream.c
libuv/src/unix/sunos.c
libuv/src/unix/sysinfo-loadavg.c
libuv/src/unix/sysinfo-memory.c
libuv/src/unix/tcp.c
libuv/src/unix/thread.c
libuv/src/unix/tty.c
libuv/src/unix/udp.c
libuv/src/uv-common.c
libuv/src/uv-common.h
libuv/src/uv-data-getter-setters.c
libuv/src/win/signal.c
libuv/src/win/snprintf.c
libuv/src/win/stream-inl.h
libuv/src/win/stream.c
libuv/src/win/tcp.c
libuv/src/win/thread.c
libuv/src/win/tty.c
libuv/src/win/udp.c
libuv/src/win/util.c
libuv/src/win/winapi.c
libuv/src/win/winapi.h
libuv/test/benchmark-pound.c
libuv/test/benchmark-pump.c
libuv/test/benchmark-sizes.c
libuv/test/benchmark-spawn.c
libuv/test/benchmark-tcp-write-batch.c
libuv/test/benchmark-thread.c
libuv/test/benchmark-udp-pummel.c
libuv/test/blackhole-server.c
libuv/test/dns-server.c
libuv/test/echo-server.c
libuv/test/fixtures/empty_file
libuv/test/test-poll-close.c
libuv/test/test-poll-closesocket.c
libuv/test/test-poll-oob.c
libuv/test/test-poll.c
libuv/test/test-process-priority.c
libuv/test/test-process-title-threadsafe.c
libuv/test/test-process-title.c
libuv/test/test-queue-foreach-delete.c
libuv/test/test-ref.c
libuv/test/test-run-nowait.c
libuv/test/test-run-once.c
libuv/test/test-tcp-write-after-connect.c
libuv/test/test-tcp-write-fail.c
libuv/test/test-tcp-write-queue-order.c
libuv/test/test-tcp-write-to-half-open-connection.c
libuv/test/test-tcp-writealot.c
libuv/test/test-thread-equal.c
libuv/test/test-thread.c
libuv/test/test-threadpool-cancel.c
libuv/test/test-threadpool.c
libuv/test/test-timer-again.c
libuv/test/test-timer-from-check.c
libuv/test/test-timer.c
libuv/test/test-tmpdir.c
libuv/test/test-tty-duplicate-key.c
view all matches for this distribution
view release on metacpan or search on metacpan
my $version = $ENV{ALIEN_WASMTIME_VERSION} || 'v0.27.0';
my $arch = 'x86_64';
if($^O eq 'linux')
{
# archname=x86_64-linux-gnu-thread-multi
if($Config{archname} =~ /^(x86_64|aarch64)-linux/ && $Config{ptrsize} == 8)
{
if($1 eq 'aarch64')
{
$arch = 'aarch64';
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Build/Any_wx_config.pm view on Meta::CPAN
my @paths = ( ( map { s/^-L//; $_ } grep { /^-L/ } split ' ', $libs ),
qw(/usr/local/lib /usr/lib /usr/lib64) );
foreach ( split /\s+/, $libs ) {
m{^-[lL]|/} && do { $config{link_libraries} .= " $_"; next; };
if( $_ eq '-pthread' && $^O =~ m/(?:linux|freebsd)/i ) {
$config{link_libraries} .= " -lpthread";
next;
}
$config{link_libraries} .= " $_";
}
view all matches for this distribution
view release on metacpan or search on metacpan
ninstr|||
no_bareword_allowed|||
no_fh_allowed|||
no_op|||
not_a_number|||
nothreadhook||5.008000|
nuke_stacks|||
num_overflow|||n
offer_nice_chunk|||
oopsAV|||
oopsCV|||
#endif
/* Hint: PL_ppaddr
* Calling an op via PL_ppaddr requires passing a context argument
* for threaded builds. Since the context argument is different for
* 5.005 perls, you can use aTHXR (supplied by ppport.h), which will
* automatically be defined as the correct argument.
*/
#if (PERL_BCDVERSION <= 0x5005005)
#endif
/*
* Boilerplate macros for initializing and accessing interpreter-local
* data from C. All statics in extensions should be reworked to use
* this, if you want to make the extension thread-safe. See ext/re/re.xs
* for an example of the use of these macros.
*
* Code that uses these macros is responsible for the following:
* 1. #define MY_CXT_KEY to a unique string, e.g. "DynaLoader_guts"
* 2. Declare a typedef named my_cxt_t that is a structure that contains
defined(PERL_CAPI) || defined(PERL_IMPLICIT_CONTEXT)
#ifndef START_MY_CXT
/* This must appear in all extensions that define a my_cxt_t structure,
* right after the definition (i.e. at file scope). The non-threads
* case below uses it to declare the data as static. */
#define START_MY_CXT
#if (PERL_BCDVERSION < 0x5004068)
/* Fetches the SV that keeps the per-interpreter data. */
#else
/* older perls don't have PL_numeric_radix_sv so the radix
* must manually be requested from locale.h
*/
#include <locale.h>
dTHR; /* needed for older threaded perls */
struct lconv *lc = localeconv();
char *radix = lc->decimal_point;
if (radix && IN_LOCALE) {
STRLEN len = strlen(radix);
if (*sp + len <= send && memEQ(*sp, radix, len)) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AlignDB/Stopwatch.pm view on Meta::CPAN
minimal single-side divider length, default is [5]
=head2 uuid
Use Data::UUID to generate a UUID that prevent inserting meta info more than
one time on multithreads mode
=head1 METHODS
=head2 record
view all matches for this distribution
view release on metacpan or search on metacpan
NOTHING_t8_p8|5.033003||Viu
NOTHING_t8_pb|5.033003||Viu
NOTHING_tb|5.035004||Viu
NOTHING_tb_p8|5.033003||Viu
NOTHING_tb_pb|5.033003||Viu
nothreadhook|5.008000|5.008000|
notify_parser_that_changed_to_utf8|5.025010||Viu
not_incrementable|5.021002||Viu
NOT_IN_PAD|5.005000||Viu
NOT_REACHED|5.019006|5.003007|poVnu
NPOSIXA|5.017003||Viu
PerlProc_sleep|5.005000||Viu
PerlProc_spawnvp|5.008000||Viu
PerlProc_times|5.005000||Viu
PerlProc_wait|5.005000||Viu
PerlProc_waitpid|5.005000||Viu
perl_pthread_mutex_lock|5.023006||Viu
perl_pthread_mutex_unlock|5.023006||Viu
PERL_PV_ESCAPE_ALL|5.009004|5.003007|p
PERL_PV_ESCAPE_DWIM|5.019008||Viu
PERL_PV_ESCAPE_DWIM_ALL_HEX|||Viu
PERL_PV_ESCAPE_FIRSTCHAR|5.009004|5.003007|p
PERL_PV_ESCAPE_NOBACKSLASH|5.009004|5.003007|p
PL_sv_zero|5.027003|5.027003|
PL_sys_intern|5.005000||Viu
PL_tainted|5.005000|5.003007|poVnu
PL_tainting|5.005000|5.003007|poVnu
PL_taint_warn|5.007003||Viu
PL_threadhook|5.008000||Viu
PL_tmps_floor|5.005000||Viu
PL_tmps_ix|5.005000||Viu
PL_tmps_max|5.005000||Viu
PL_tmps_stack|5.005000||Viu
PL_tokenbuf||5.003007|ponu
PSEUDO_t8_p8|5.033003||Viu
PSEUDO_t8_pb|5.033003||Viu
PSEUDO_tb|5.035004||Viu
PSEUDO_tb_p8|5.033003||Viu
PSEUDO_tb_pb|5.033003||Viu
pthread_addr_t|5.005000||Viu
PTHREAD_ATFORK|5.007002||Viu
pthread_attr_init|5.006000||Viu
PTHREAD_ATTR_SETDETACHSTATE|5.006000||Viu
pthread_condattr_default|5.005000||Viu
PTHREAD_CREATE|5.006000||Viu
pthread_create|5.008001||Viu
PTHREAD_CREATE_JOINABLE|5.005000||Viu
PTHREAD_GETSPECIFIC|5.007002||Viu
PTHREAD_GETSPECIFIC_INT|5.006000||Viu
pthread_key_create|5.005000||Viu
pthread_keycreate|5.008001||Viu
pthread_mutexattr_default|5.005000||Viu
pthread_mutexattr_init|5.005000||Viu
pthread_mutexattr_settype|5.005000||Viu
pTHX_12|5.019010||Viu
pTHX_1|5.006000||Viu
pTHX_2|5.006000||Viu
pTHX_3|5.006000||Viu
pTHX_4|5.006000||Viu
T_FMT_AMPM|5.027010||Viu
THIS|5.003007|5.003007|V
THOUSEP|5.027010||Viu
THR|5.005000||Viu
THREAD_CREATE_NEEDS_STACK|5.007002||Viu
thread_locale_init|5.027009|5.027009|xnu
thread_locale_term|5.027009|5.027009|xnu
THREAD_RET_TYPE|5.005000||Viu
tied_method|5.013009||vViu
TIED_METHOD_ARGUMENTS_ON_STACK|5.013009||Viu
TIED_METHOD_MORTALIZE_NOT_NEEDED|5.013009||Viu
TIED_METHOD_SAY|5.013009||Viu
# define dTHX dNOOP
#endif
/* Hint: dTHX
For pre-5.6.0 thread compatibility, instead use dTHXR, available only through
ppport.h */
#ifndef dTHXa
# define dTHXa(x) dNOOP
#endif
#ifndef pTHX
# define aTHX
#endif
/* Hint: aTHX
For pre-5.6.0 thread compatibility, instead use aTHXR, available only through
ppport.h */
#ifndef aTHX_
# define aTHX_
#endif
/* Hint: aTHX_
For pre-5.6.0 thread compatibility, instead use aTHXR_, available only
through ppport.h */
#if (PERL_BCDVERSION < 0x5006000)
# ifdef USE_THREADS
# define aTHXR thr
#endif
/* Hint: PL_ppaddr
* Calling an op via PL_ppaddr requires passing a context argument
* for threaded builds. Since the context argument is different for
* 5.005 perls, you can use aTHXR (supplied by ppport.h), which will
* automatically be defined as the correct argument.
*/
#if (PERL_BCDVERSION <= 0x5005005)
#endif
/*
* Boilerplate macros for initializing and accessing interpreter-local
* data from C. All statics in extensions should be reworked to use
* this, if you want to make the extension thread-safe. See ext/re/re.xs
* for an example of the use of these macros.
*
* Code that uses these macros is responsible for the following:
* 1. #define MY_CXT_KEY to a unique string, e.g. "DynaLoader_guts"
* 2. Declare a typedef named my_cxt_t that is a structure that contains
defined(PERL_CAPI) || defined(PERL_IMPLICIT_CONTEXT)
#ifndef START_MY_CXT
/* This must appear in all extensions that define a my_cxt_t structure,
* right after the definition (i.e. at file scope). The non-threads
* case below uses it to declare the data as static. */
#define START_MY_CXT
#if (PERL_BCDVERSION < 0x5004068)
/* Fetches the SV that keeps the per-interpreter data. */
#else
/* older perls don't have PL_numeric_radix_sv so the radix
* must manually be requested from locale.h
*/
#include <locale.h>
dTHR; /* needed for older threaded perls */
struct lconv *lc = localeconv();
char *radix = lc->decimal_point;
if (radix && IN_LOCALE) {
STRLEN len = strlen(radix);
if (*sp + len <= send && memEQ(*sp, radix, len)) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Devel/CallParser.xs view on Meta::CPAN
Perl_call_parser psfun;
SV *psobj;
U32 parser_flags;
/*
* Creation of the rv2cv op below (or more precisely its gv op
* child created during checking) uses a pad slot under threads.
* Normally this is fine, but early versions of the padrange
* mechanism make assumptions about pad slots being contiguous
* that this breaks. On the affected perl versions, therefore,
* we watch for the pad slot being consumed, and restore the
* pad's fill pointer if we throw the op away (upon declining
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Devel/GlobalDestruction/XS.pm
lib/Devel/GlobalDestruction/XS/Inline.pm
Makefile.PL
MANIFEST This list of files
t/01_basic.t
t/02_thread.t
t/03_minusc.t
t/04_phases.t
t/05_thread_clone.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
inc/Devel/GlobalDestruction/XS/Inline.pm
inc/Inline.pm
inc/Inline/denter.pm
view all matches for this distribution
view release on metacpan or search on metacpan
SKIP: {
skip 'static libs', 1
unless ($major > 0 || $minor >= 20);
my $data = ExtUtils::PkgConfig->static_libs(qw/test_glib-2.0/);
like ($data, qr/pthread/);
}
my $data;
$data = ExtUtils::PkgConfig->variable(qw/test_glib-2.0/, 'glib_genmarshal');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Lexical/Var.pm view on Meta::CPAN
subroutine call if the subroutine exists, but the parser doesn't look at
lexically-defined subroutines for this purpose. The call interpretation
can be forced by prefixing the first argument expression with a C<+>,
or by wrapping the whole argument list in parentheses.
On Perls built for threading (even if threading is not actually used),
scalar constants that are defined by literals in the Perl source don't
reliably maintain their object identity. What appear to be multiple
references to a single object can end up behaving as references
to multiple objects, in surprising ways. The multiple objects all
initially have the correct value, but they can be writable even though the
view all matches for this distribution
view release on metacpan or search on metacpan
t/Test/Builder.pm view on Meta::CPAN
use strict;
use vars qw($VERSION);
$VERSION = '0.32';
$VERSION = eval $VERSION; # make the alpha version come out as a number
# Make Test::Builder thread-safe for ithreads.
BEGIN {
use Config;
# Load threads::shared when threads are turned on
if( $] >= 5.008 && $Config{useithreads} && $INC{'threads.pm'}) {
require threads::shared;
# Hack around YET ANOTHER threads::shared bug. It would
# occassionally forget the contents of the variable when sharing it.
# So we first copy the data, then share, then put our copy back.
*share = sub (\[$@%]) {
my $type = ref $_[0];
my $data;
t/Test/Builder.pm view on Meta::CPAN
}
else {
die "Unknown type: ".$type;
}
$_[0] = &threads::shared::share($_[0]);
if( $type eq 'HASH' ) {
%{$_[0]} = %$data;
}
elsif( $type eq 'ARRAY' ) {
t/Test/Builder.pm view on Meta::CPAN
}
return $_[0];
};
}
# 5.8.0's threads::shared is busted when threads are off.
# We emulate it here.
else {
*share = sub { return $_[0] };
*lock = sub { 0 };
}
t/Test/Builder.pm view on Meta::CPAN
ok
ok
ok
Most useful when you can't depend on the test output order, such as
when threads or forking is involved.
Test::Harness will accept either, but avoid mixing the two styles.
Defaults to on.
t/Test/Builder.pm view on Meta::CPAN
$self->{Expected_Tests} = $self->{Curr_Test};
}
# Auto-extended arrays and elements which aren't explicitly
# filled in with a shared reference will puke under 5.8.0
# ithreads. So we have to fill them in by hand. :(
my $empty_result = &share({});
for my $idx ( 0..$self->{Expected_Tests}-1 ) {
$test_results->[$idx] = $empty_result
unless defined $test_results->[$idx];
}
t/Test/Builder.pm view on Meta::CPAN
If you fail more than 254 tests, it will be reported as 254.
=head1 THREADS
In perl 5.8.0 and later, Test::Builder is thread-safe. The test
number is shared amongst all threads. This means if one thread sets
the test number using current_test() they will all be effected.
Test::Builder is only thread-aware if threads.pm is loaded I<before>
Test::Builder.
=head1 EXAMPLES
CPAN can provide the best examples. Test::Simple, Test::More,
view all matches for this distribution