- 21 Apr, 2017 1 commit
-
-
Daniel A. Steffen authored
lock: Avoid use of undefined DISPATCH_INTERNAL_CRASH
-
- 19 Apr, 2017 1 commit
-
-
Daniel A. Steffen authored
build: add a cmake based build system
-
- 13 Apr, 2017 1 commit
-
-
Kim Topley authored
(Radar 31585625)
-
- 12 Apr, 2017 2 commits
-
-
Pierre Habouzit authored
tests: adjust printf for size types
-
Saleem Abdulrasool authored
Use the z modifier for the size_t type conversion in printf specifiers.
-
- 11 Apr, 2017 1 commit
-
-
Daniel A. Steffen authored
libdispatch: Avoid submodules for headers that should not be included
-
- 08 Apr, 2017 1 commit
-
-
Bruno Cardoso Lopes authored
libdispatch has an umbrella header, dispatch.h, that should be used for including all of the other headers. This is enforced via __DISPATCH_INDIRECT__. Since it isn't legal to include one of the other headers on their own, it isn't logical to have submodules for them. Moreover, submodules *should* have local visibility (be unaware of the context they're included from); meaning that __DISPATCH_INDIRECT__ will never be defined. Logically, all of the headers are part of a single module/interface. Patch by me & Duncan P. Exon Smith
-
- 05 Apr, 2017 1 commit
-
-
Pierre Habouzit authored
Fix compile error on s390x in shims/lock.h
-
- 04 Apr, 2017 1 commit
-
-
Andrew Jeffery authored
Building swift-corelibs-libdispatch on powerpc64le under Linux lead to the following build failure: /bin/bash ../libtool --tag=CXX --mode=compile /home/ubuntu/swift-dev/build/buildbot_incremental/llvm-linux-powerpc64le/bin/clang++ -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -DDISPATCH_USE_DTRACE=0 -I../libpwq/include -Wall -fvisibility=hidden -momit-leaf-frame-pointer -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -I../src/BlocksRuntime -std=gnu++11 -fno-exceptions -O2 -c -o libdispatch_la-block.lo `test -f 'block.cpp' || echo './'`block.cpp libtool: compile: /home/ubuntu/swift-dev/build/buildbot_incremental/llvm-linux-powerpc64le/bin/clang++ -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -DDISPATCH_USE_DTRACE=0 -I../libpwq/include -Wall -fvisibility=hidden -momit-leaf-frame-pointer -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -I../src/BlocksRuntime -std=gnu++11 -fno-exce ptions -O2 -c block.cpp -fPIC -DPIC -o .libs/libdispatch_la-block.o In file included from block.cpp:32: In file included from ./internal.h:628: In file included from ./shims.h:171: ./shims/lock.h:550:3: error: use of undeclared identifier 'DISPATCH_INTERNAL_CRASH' DISPATCH_INTERNAL_CRASH(errno, "sys_membarrier not supported"); ^ 1 error generated. Makefile:701: recipe for target 'libdispatch_la-block.lo' failed make[2]: *** [libdispatch_la-block.lo] Error 1 make[2]: Leaving directory '/home/ubuntu/swift-dev/swift-corelibs-libdispatch/src' Makefile:541: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/ubuntu/swift-dev/swift-corelibs-libdispatch/src' Makefile:457: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Include ordering in internal.h is tightly constrained, so open-code the macro to avoid the dependency problem. Signed-off-by:
Andrew Jeffery <andrew@aj.id.au>
-
- 03 Apr, 2017 1 commit
-
-
Vivian Kong authored
Fix compile error on s390x in shims/lock.h. s390x has a strong memory model and does not require membarrier.
-
- 20 Mar, 2017 1 commit
-
-
Kim Topley authored
Makes the DispatchIO initializer that accepts a path failable, reflecting the fact that a relative or non-existent path is invalid. (Radar 31115994)
-
- 10 Mar, 2017 3 commits
-
-
Kim Topley authored
-
Kim Topley authored
(Radar 30699743)
-
Kim Topley authored
(Radar rdar://problem/30518517)
-
- 06 Mar, 2017 1 commit
-
-
Saleem Abdulrasool authored
This is far from complete, but is sufficient to build a Linux version of libdispatch. It shows what a potential cmake based build system could look like, and if desired can be completed to build all the various flavours with cmake.
-
- 26 Feb, 2017 2 commits
-
-
Pierre Habouzit authored
SR-4026: dispatch_test_check_evfilt_read_for_fd for epoll
-
Pierre Habouzit authored
fixes for compiler warnings
-
- 24 Feb, 2017 2 commits
-
-
David Grove authored
Collection of small fixes to eliminate compiler warnings when building libdispatch and its tests.
-
Daniel A. Steffen authored
queue_specific_queue is missing its do_push vtable entry
-
- 23 Feb, 2017 2 commits
-
-
David Grove authored
Implement dispatch_test_check_evfilt_read_for_fd test method for the event_epoll backend.
-
Pierre Habouzit authored
Also reorder all vtable entries to be in the same order (push, invoke, wakeup). Reenable dispatch_context_for_key. SR: SR-4039
-
- 22 Feb, 2017 9 commits
-
-
Daniel A. Steffen authored
remove unused dependency on linux/membarrier.h for intel to fix CI build
-
Daniel A. Steffen authored
add dependency on linux-libc-dev to INSTALL.md for other architectures
-
Daniel A. Steffen authored
Temporarily move dispatch_context_for_key test into the unreliable tests
-
Daniel A. Steffen authored
temporarily move dispatch_context_for_key test into the unreliable tests since it started failing in the CI
-
Daniel A. Steffen authored
provide fallback definitions for all API_* macros
-
Daniel A. Steffen authored
-
Daniel A. Steffen authored
Merge darwin/libdispatch-806 to master and apply Linux build fixes
-
Daniel A. Steffen authored
Linux fixes for dispatch-806 merge
-
David Grove authored
Collection of small fixes to dispatch-806 merge to allow code to compile/link/run on Linux.
-
- 21 Feb, 2017 10 commits
-
-
Daniel A. Steffen authored
-
Daniel A. Steffen authored
-
Daniel A. Steffen authored
-
Daniel A. Steffen authored
-
Daniel A. Steffen authored
Signed-off-by:
Daniel A. Steffen <dsteffen@apple.com>
-
Daniel A. Steffen authored
Signed-off-by:
Daniel A. Steffen <dsteffen@apple.com>
-
Daniel A. Steffen authored
Signed-off-by:
Daniel A. Steffen <dsteffen@apple.com>
-
Pierre Habouzit authored
Remove unused include of sys/user.h Signed-off-by:
Daniel A. Steffen <dsteffen@apple.com>
-
David Grove authored
The include of sys/user.h is not needed; it is a leftover from the initial linux port. Eliminating it avoids a build problem for the Swift dispatch overlay on ubuntu 14.04 powerpc64le because the content of sys/user.h confuses the clang module importer when it attempts to import CDispatch. Signed-off-by:
Daniel A. Steffen <dsteffen@apple.com>
-
Pierre Habouzit authored
Remove ObjC support functions not needed on non-ObjC platforms Signed-off-by:
Daniel A. Steffen <dsteffen@apple.com>
-