summary refs log tree commit diff stats
path: root/lib/arch
Commit message (Collapse)AuthorAgeFilesLines
* Coroutine rework.Rokas Kupstys2017-02-208-344/+160
| | | | | | | | | | | | | | | * ucontext backend (default on unix) * setjmp backend * fibers backend (default and required on windows) * Fixed coroutine loop timing issues * Fixed saving of xmm registers on x64 windows * Fixed alignment issues * Updated coroutine sample with cooperative fibonacci calculation. * Disable glibc security features only when platform jump functions are used * Removed dependency on fasm. * Using fiber api on windows. * Other platforms and compilers will use built in assembler and .S files or API provided by platform libc. * Replaced stack switching procs with `coroExecWithStack()` which never returns. This makes compiler always generate proper code.
* fixes #4879Andreas Rumpf2016-10-201-1/+1
|
* Add description to arch.nimFederico Ceratto2016-09-281-0/+3
|
* Coroutine support for i386/amd64 platforms unix/windows OSes ↵rku2015-07-316-0/+341
markAndSweep/refCounting GCs.
href='#n104'>104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164