Browse code

Adding winapi

Steffen Neumann authored on 26/11/2021 22:31:46
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,24 @@
1
+/*
2
+ * Copyright 2017 Andrey Semashev
3
+ *
4
+ * Distributed under the Boost Software License, Version 1.0.
5
+ * See http://www.boost.org/LICENSE_1_0.txt
6
+ *
7
+ * This header is deprecated, use boost/winapi/thread_pool.hpp instead.
8
+ */
9
+
10
+#ifndef BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
11
+#define BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
12
+
13
+#include <boost/config/header_deprecated.hpp>
14
+
15
+BOOST_HEADER_DEPRECATED("<boost/winapi/thread_pool.hpp>")
16
+
17
+#include <boost/winapi/thread_pool.hpp>
18
+#include <boost/detail/winapi/detail/deprecated_namespace.hpp>
19
+
20
+#ifdef BOOST_HAS_PRAGMA_ONCE
21
+#pragma once
22
+#endif
23
+
24
+#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
Browse code

remove (hopefully) unused directories

Steffen Neumann authored on 23/09/2021 15:21:20
Showing 1 changed files
1 1
deleted file mode 100755
... ...
@@ -1,24 +0,0 @@
1
-/*
2
- * Copyright 2017 Andrey Semashev
3
- *
4
- * Distributed under the Boost Software License, Version 1.0.
5
- * See http://www.boost.org/LICENSE_1_0.txt
6
- *
7
- * This header is deprecated, use boost/winapi/thread_pool.hpp instead.
8
- */
9
-
10
-#ifndef BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
11
-#define BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
12
-
13
-#include <boost/config/header_deprecated.hpp>
14
-
15
-BOOST_HEADER_DEPRECATED("<boost/winapi/thread_pool.hpp>")
16
-
17
-#include <boost/winapi/thread_pool.hpp>
18
-#include <boost/detail/winapi/detail/deprecated_namespace.hpp>
19
-
20
-#ifdef BOOST_HAS_PRAGMA_ONCE
21
-#pragma once
22
-#endif
23
-
24
-#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
Browse code

Updating pwiz to 3_0_21263

Steffen Neumann authored on 23/09/2021 12:34:25
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,24 @@
1
+/*
2
+ * Copyright 2017 Andrey Semashev
3
+ *
4
+ * Distributed under the Boost Software License, Version 1.0.
5
+ * See http://www.boost.org/LICENSE_1_0.txt
6
+ *
7
+ * This header is deprecated, use boost/winapi/thread_pool.hpp instead.
8
+ */
9
+
10
+#ifndef BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
11
+#define BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
12
+
13
+#include <boost/config/header_deprecated.hpp>
14
+
15
+BOOST_HEADER_DEPRECATED("<boost/winapi/thread_pool.hpp>")
16
+
17
+#include <boost/winapi/thread_pool.hpp>
18
+#include <boost/detail/winapi/detail/deprecated_namespace.hpp>
19
+
20
+#ifdef BOOST_HAS_PRAGMA_ONCE
21
+#pragma once
22
+#endif
23
+
24
+#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
Browse code

checkout latest pwiz, ammend Makevars

From: Laurent <lg390@cam.ac.uk>

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@125180 bc3139a8-67e5-0310-9ffc-ced21a209358

l.gatto authored on 15/12/2016 10:21:41
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,96 +0,0 @@
1
-//  thread_pool.hpp  --------------------------------------------------------------//
2
-
3
-//  Copyright 2013 Andrey Semashev
4
-
5
-//  Distributed under the Boost Software License, Version 1.0.
6
-//  See http://www.boost.org/LICENSE_1_0.txt
7
-
8
-
9
-#ifndef BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
10
-#define BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
11
-
12
-#include <boost/detail/winapi/basic_types.hpp>
13
-
14
-#ifdef BOOST_HAS_PRAGMA_ONCE
15
-#pragma once
16
-#endif
17
-
18
-#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K
19
-
20
-namespace boost
21
-{
22
-namespace detail
23
-{
24
-namespace winapi
25
-{
26
-#if defined( BOOST_USE_WINDOWS_H )
27
-
28
-typedef ::WAITORTIMERCALLBACKFUNC WAITORTIMERCALLBACKFUNC_;
29
-typedef ::WAITORTIMERCALLBACK WAITORTIMERCALLBACK_;
30
-
31
-using ::RegisterWaitForSingleObject;
32
-using ::UnregisterWait;
33
-using ::UnregisterWaitEx;
34
-
35
-const ULONG_ wt_execute_default = WT_EXECUTEDEFAULT;
36
-const ULONG_ wt_execute_in_io_thread = WT_EXECUTEINIOTHREAD;
37
-const ULONG_ wt_execute_in_ui_thread = WT_EXECUTEINUITHREAD;
38
-const ULONG_ wt_execute_in_wait_thread = WT_EXECUTEINWAITTHREAD;
39
-const ULONG_ wt_execute_only_once = WT_EXECUTEONLYONCE;
40
-const ULONG_ wt_execute_in_timer_thread = WT_EXECUTEINTIMERTHREAD;
41
-const ULONG_ wt_execute_long_function = WT_EXECUTELONGFUNCTION;
42
-const ULONG_ wt_execute_in_persistent_io_thread = WT_EXECUTEINPERSISTENTIOTHREAD;
43
-const ULONG_ wt_execute_in_persistent_thread = WT_EXECUTEINPERSISTENTTHREAD;
44
-const ULONG_ wt_transfer_impersonation = WT_TRANSFER_IMPERSONATION;
45
-
46
-inline ULONG_ wt_set_max_threadpool_threads(ULONG_ flags, ULONG_ limit)
47
-{
48
-    return WT_SET_MAX_THREADPOOL_THREADS(flags, limit);
49
-}
50
-
51
-#else
52
-
53
-extern "C" {
54
-
55
-typedef void (NTAPI* WAITORTIMERCALLBACKFUNC_) (PVOID_, BOOLEAN_);
56
-typedef WAITORTIMERCALLBACKFUNC_ WAITORTIMERCALLBACK_;
57
-
58
-__declspec(dllimport) BOOL_ WINAPI RegisterWaitForSingleObject
59
-(
60
-    HANDLE_* phNewWaitObject,
61
-    HANDLE_ hObject,
62
-    WAITORTIMERCALLBACK_ Callback,
63
-    PVOID_ Context,
64
-    ULONG_ dwMilliseconds,
65
-    ULONG_ dwFlags
66
-);
67
-
68
-__declspec(dllimport) BOOL_ WINAPI UnregisterWait(HANDLE_ WaitHandle);
69
-__declspec(dllimport) BOOL_ WINAPI UnregisterWaitEx(HANDLE_ WaitHandle, HANDLE_ CompletionEvent);
70
-
71
-} // extern "C"
72
-
73
-const ULONG_ wt_execute_default = 0x00000000;
74
-const ULONG_ wt_execute_in_io_thread = 0x00000001;
75
-const ULONG_ wt_execute_in_ui_thread = 0x00000002;
76
-const ULONG_ wt_execute_in_wait_thread = 0x00000004;
77
-const ULONG_ wt_execute_only_once = 0x00000008;
78
-const ULONG_ wt_execute_in_timer_thread = 0x00000020;
79
-const ULONG_ wt_execute_long_function = 0x00000010;
80
-const ULONG_ wt_execute_in_persistent_io_thread = 0x00000040;
81
-const ULONG_ wt_execute_in_persistent_thread = 0x00000080;
82
-const ULONG_ wt_transfer_impersonation = 0x00000100;
83
-
84
-inline ULONG_ wt_set_max_threadpool_threads(ULONG_ flags, ULONG_ limit)
85
-{
86
-    return flags | (limit << 16);
87
-}
88
-
89
-#endif
90
-}
91
-}
92
-}
93
-
94
-#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K
95
-
96
-#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
Browse code

Commit made by the Bioconductor Git-SVN bridge.

Commit id: 0b3d4d9bb71e3ca5891b777610fc8dec103a6d61

Bumped version after KK's updates


Commit id: 9e04409b64757a177893d56c0300904f31945cb1

modified: src/pwiz/data/common/BinaryIndexStream.cpp modified: src/win/i386/libpwiz.a modified: src/win/x64/libpwiz.a


Commit id: f16b04258dc20bf3315beac99708e11728cfc12b

update precompiled lib for windows


Commit id: 5d56197f1148378d92e89b2d0a167e18c4b7ab2e

Bump version, tame .Rbuildignore


Commit id: 432da5bd294c9b87f7761e15bc814c3785c21abf

Merge remote-tracking branch 'origin/boost_159'


Commit id: 92be978bf72d90c2222a19ddf365f6d1acc9f20d

upadte Makevars


Commit id: ae75037a780cead56c4d20bedf822c94fb413677

upgrade to boost 1.5.9



git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@110126 bc3139a8-67e5-0310-9ffc-ced21a209358

s.neumann authored on 01/11/2015 22:33:47
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,96 @@
1
+//  thread_pool.hpp  --------------------------------------------------------------//
2
+
3
+//  Copyright 2013 Andrey Semashev
4
+
5
+//  Distributed under the Boost Software License, Version 1.0.
6
+//  See http://www.boost.org/LICENSE_1_0.txt
7
+
8
+
9
+#ifndef BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
10
+#define BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
11
+
12
+#include <boost/detail/winapi/basic_types.hpp>
13
+
14
+#ifdef BOOST_HAS_PRAGMA_ONCE
15
+#pragma once
16
+#endif
17
+
18
+#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K
19
+
20
+namespace boost
21
+{
22
+namespace detail
23
+{
24
+namespace winapi
25
+{
26
+#if defined( BOOST_USE_WINDOWS_H )
27
+
28
+typedef ::WAITORTIMERCALLBACKFUNC WAITORTIMERCALLBACKFUNC_;
29
+typedef ::WAITORTIMERCALLBACK WAITORTIMERCALLBACK_;
30
+
31
+using ::RegisterWaitForSingleObject;
32
+using ::UnregisterWait;
33
+using ::UnregisterWaitEx;
34
+
35
+const ULONG_ wt_execute_default = WT_EXECUTEDEFAULT;
36
+const ULONG_ wt_execute_in_io_thread = WT_EXECUTEINIOTHREAD;
37
+const ULONG_ wt_execute_in_ui_thread = WT_EXECUTEINUITHREAD;
38
+const ULONG_ wt_execute_in_wait_thread = WT_EXECUTEINWAITTHREAD;
39
+const ULONG_ wt_execute_only_once = WT_EXECUTEONLYONCE;
40
+const ULONG_ wt_execute_in_timer_thread = WT_EXECUTEINTIMERTHREAD;
41
+const ULONG_ wt_execute_long_function = WT_EXECUTELONGFUNCTION;
42
+const ULONG_ wt_execute_in_persistent_io_thread = WT_EXECUTEINPERSISTENTIOTHREAD;
43
+const ULONG_ wt_execute_in_persistent_thread = WT_EXECUTEINPERSISTENTTHREAD;
44
+const ULONG_ wt_transfer_impersonation = WT_TRANSFER_IMPERSONATION;
45
+
46
+inline ULONG_ wt_set_max_threadpool_threads(ULONG_ flags, ULONG_ limit)
47
+{
48
+    return WT_SET_MAX_THREADPOOL_THREADS(flags, limit);
49
+}
50
+
51
+#else
52
+
53
+extern "C" {
54
+
55
+typedef void (NTAPI* WAITORTIMERCALLBACKFUNC_) (PVOID_, BOOLEAN_);
56
+typedef WAITORTIMERCALLBACKFUNC_ WAITORTIMERCALLBACK_;
57
+
58
+__declspec(dllimport) BOOL_ WINAPI RegisterWaitForSingleObject
59
+(
60
+    HANDLE_* phNewWaitObject,
61
+    HANDLE_ hObject,
62
+    WAITORTIMERCALLBACK_ Callback,
63
+    PVOID_ Context,
64
+    ULONG_ dwMilliseconds,
65
+    ULONG_ dwFlags
66
+);
67
+
68
+__declspec(dllimport) BOOL_ WINAPI UnregisterWait(HANDLE_ WaitHandle);
69
+__declspec(dllimport) BOOL_ WINAPI UnregisterWaitEx(HANDLE_ WaitHandle, HANDLE_ CompletionEvent);
70
+
71
+} // extern "C"
72
+
73
+const ULONG_ wt_execute_default = 0x00000000;
74
+const ULONG_ wt_execute_in_io_thread = 0x00000001;
75
+const ULONG_ wt_execute_in_ui_thread = 0x00000002;
76
+const ULONG_ wt_execute_in_wait_thread = 0x00000004;
77
+const ULONG_ wt_execute_only_once = 0x00000008;
78
+const ULONG_ wt_execute_in_timer_thread = 0x00000020;
79
+const ULONG_ wt_execute_long_function = 0x00000010;
80
+const ULONG_ wt_execute_in_persistent_io_thread = 0x00000040;
81
+const ULONG_ wt_execute_in_persistent_thread = 0x00000080;
82
+const ULONG_ wt_transfer_impersonation = 0x00000100;
83
+
84
+inline ULONG_ wt_set_max_threadpool_threads(ULONG_ flags, ULONG_ limit)
85
+{
86
+    return flags | (limit << 16);
87
+}
88
+
89
+#endif
90
+}
91
+}
92
+}
93
+
94
+#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K
95
+
96
+#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP