Oliver Kowalke
58a4812f92
introduce static inititalization function main()
2015-09-07 18:22:31 +02:00
Oliver Kowalke
8c3d8e4dbd
replace decltype(auto) -> void in lambda expression
2015-09-05 07:47:26 +02:00
Oliver Kowalke
611d5608e3
Merge pull request #18 from BenWiederhake/develop
...
Fix several typos I spotted while reading the documentation
2015-09-01 13:26:54 +02:00
Ben Wiederhake
b868537ba7
fix then/than-typos in doc
2015-09-01 13:15:25 +02:00
Ben Wiederhake
948893b0f8
fix copy-pasted typo in doc
2015-09-01 13:15:21 +02:00
Oliver Kowalke
6431d27506
fix #11604 : Assembler Error A1010 with Intel Compiler 16.0 (win7 64bit)
2015-08-31 21:20:41 +02:00
Oliver Kowalke
acbe483eeb
fix usage of semgneted-stacks
...
- main-context gets flag flag_segmented_stack if property
segmented-stacks=on
- corrected usage of __splitstack_getcontext/__splitstack_setcontext()
-> test flags for flag_segmented_stack for `from AND `to`
2015-08-23 19:29:25 +02:00
Oliver Kowalke
a7be53c71e
fix #11565 - segmented stacks not build for gcc-5.2
2015-08-21 08:47:57 +02:00
Oliver Kowalke
308e0ba086
Update rationale.qbk
2015-08-13 11:21:54 +02:00
Oliver Kowalke
daf0737dae
Update requirements.qbk
2015-08-13 11:19:28 +02:00
Oliver Kowalke
9f3a134520
Update requirements.qbk
2015-08-13 11:18:53 +02:00
Oliver Kowalke
65b283a0aa
Update rationale.qbk
2015-08-13 11:17:56 +02:00
Oliver Kowalke
7db01269e7
Revert "fix result_of usage"
...
This reverts commit a264431eb8
.
2015-08-12 18:16:57 +02:00
Oliver Kowalke
a264431eb8
fix result_of usage
2015-08-12 17:39:47 +02:00
Oliver Kowalke
3fb8dabbeb
fix stack-types for Windos+WinFibers
2015-07-30 23:29:06 +02:00
Oliver Kowalke
0855249214
reduce deferred-call
2015-07-30 23:20:04 +02:00
Oliver Kowalke
c5ede089b0
enhance tests for execution_context
2015-07-14 18:04:21 +02:00
Oliver Kowalke
1be3321f0f
add return value specifier for lambda
2015-06-29 17:07:53 +02:00
Oliver Kowalke
a1447bb35e
add invoke() in order to support member fn
2015-06-23 17:52:34 +02:00
Oliver Kowalke
16abb31ae8
add checks for C++11/14 features in unit-tests
2015-06-21 18:42:55 +02:00
Oliver Kowalke
bcfbe21cff
some modifications for stack_traits
2015-06-19 18:48:38 +02:00
Oliver Kowalke
28cc7c8336
add workaround for MSVC 14
...
- MS Visual Studio CTP1 does not provide test macros (SD-6)
in order to test support for compile-time integer sequence
2015-06-17 20:15:42 +02:00
Oliver Kowalke
1d6ef329f9
add hint for cross compiling in docu
2015-06-16 18:04:00 +02:00
Oliver Kowalke
a3d02c0507
Windows Fibers: no convertion back to thread
...
- ConvertThreadtoFiber() called without converting the fiber back
(no call to ConvertFibertoThread())
2015-06-16 17:58:48 +02:00
Oliver Kowalke
2e4ea730c6
add SD-6 test maro for compile-time integer sequence
2015-06-16 17:57:33 +02:00
Oliver Kowalke
54a4c23b35
WinFibers API: allow to allocate less than stack_traits::minimum_size()
...
- Windows Fibers manage their own stack
- we have only to allocate memory for the control structure
- dirty hack to circumvent the stack constraints
2015-06-13 08:01:31 +02:00
Oliver Kowalke
b48f92384e
define BOOST_DISABLE_ASSERTS in Jamfile
...
- for variant=release or optimization=speed define BOOST_DISABLE_ASSERTS
2015-06-13 08:00:39 +02:00
Oliver Kowalke
95e1aecc72
enable alignment of control structure on stack
2015-06-10 20:50:03 +02:00
Oliver Kowalke
a76a402c2c
fix some typos for MinGW64
2015-06-07 18:06:51 +02:00
Oliver Kowalke
e7c71e7898
some fixes for asm MinGW on Win64
2015-06-07 17:34:25 +02:00
Oliver Kowalke
a455a63447
fix MinGW asm
2015-06-07 09:50:27 +02:00
Oliver Kowalke
624ecaf337
fix assembler for Win32+MinGw
2015-06-06 18:36:37 +02:00
Oliver Kowalke
36a2394909
renaming of asm files
2015-06-05 20:49:29 +02:00
Oliver Kowalke
f8fda25030
add reference to BOOST_USE_WINFIBERS in docu
2015-06-05 20:02:40 +02:00
Oliver Kowalke
88eec47ea3
Windows: use minimum_stacksize()
2015-06-05 19:53:58 +02:00
Oliver Kowalke
d0a9efcc24
Windows: use user-defined size for WinFiber's stack
2015-06-05 19:42:42 +02:00
Oliver Kowalke
fcb2283c76
first guess for support of MinGW
2015-06-05 15:00:36 +02:00
Oliver Kowalke
e6c82dc3ac
fix using Windows Fibers
2015-06-05 15:00:08 +02:00
Oliver Kowalke
175dad2d04
std::isdigit() -> isdigit() Argument depended lookup
2015-06-05 14:57:49 +02:00
Oliver Kowalke
b8cb8dc2c2
intro of BOOST_USE_WINFIBERS
...
- TIB is not fully described, so some required parts will not be swapped
during context switch
- use Windows Fiber API as an alternative
2015-06-04 10:28:47 +02:00
Oliver Kowalke
6189ae5ce5
don't evaluate return type in non-debug mode
2015-06-04 07:08:38 +02:00
Oliver Kowalke
aadb5968f4
remove parent-tracking in execution_context
...
- tracking parent inside of execution_context:
- costs performance
- execution_context doesn't realy know which execution_context should be
executed next (if it's terminating)
- fibers do not care of the parent context -> scheduler decides which is
the next context
2015-06-03 09:00:21 +02:00
Oliver Kowalke
70fab42aa4
XCOFF: have jump,make_fcontext show up as importable
...
On AIX, building with aix-soname=svr4, nm is used to list public symbols
in object files. This fixes the assembly to have make_fcontext and
jump_fcontext show up as public symbols.
The problem actually shows up when linking the coroutine library against
the context library when built with aix-soname=svr4.
However, except for this patch allowing to compile and link even
coroutine, I'm unsure if the assembly is correct from all aspects, like
alignment, TOC, and whether it works.
Thx to Michael Haubenwallner
2015-04-25 15:59:55 +02:00
Oliver Kowalke
b3659adcb3
Merge pull request #13 from dlunch/feature/fix_windows_export
...
Do not export symbols for static build on PE builds.
2015-04-25 11:19:54 +02:00
Inseok Lee
4818164601
Do not export symbols for static build on PE builds.
...
Symbols incorrectly marked for export on static libraries exported on final executable. This change make symbols not to be marked as export on static builds.
2015-04-25 11:30:24 +09:00
Oliver Kowalke
ae1a70b3c0
use stack of parent context's
2015-04-14 19:53:46 +02:00
Oliver Kowalke
2d7cd77957
use bitset for states
2015-04-07 22:39:59 +02:00
Oliver Kowalke
492347ed16
fix deallocation of capture_record
2015-04-03 09:42:43 +02:00
Oliver Kowalke
f19a744e72
add example cycle, deal with cycles in parentship
2015-03-31 20:01:55 +02:00
Oliver Kowalke
41123e262d
make execution_context conform to N4397
2015-03-26 10:00:42 +01:00