Article View: pl.comp.os.linux.programowanie
Article #72705Przełączanie kontekstu
From: Borneq
Date: Wed, 20 Aug 2014 22:14
Date: Wed, 20 Aug 2014 22:14
10 lines
1320 bytes
1320 bytes
Jak system obsługuje coroutiny? W Windows jest coś takiego jak Fiber, obsługa np. https://github.com/erikfrey/coroutine/blob/master/boost/coroutine/detail/context_windows.hpp natomiast w Linuxie https://github.com/erikfrey/coroutine/blob/master/boost/coroutine/detail/context_linux.hpp to kod w assemblerze GCC. Czy są jakieś funkcje do tego? widzę że są http://www.unix.com/man-page/linux/3/swapcontext/ http://en.wikipedia.org/wiki/Setcontext czy konteksty mają własne stosy, które mogą niezależnie rosnąć?
Technical Details
Message-ID:
<lt36l4$dg4$1@node1.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.os.linux.programowanie Subject: Przełączanie kontekstu Date: Thu, 21 Aug 2014 00:14:46 +0200 Organization: ATMAN - ATM S.A. Lines: 10 Message-ID: <lt36l4$dg4$1@node1.news.atman.pl> NNTP-Posting-Host: 91.239.205.62 Mime-Version: 1.0 X-Trace: node1.news.atman.pl 1408572901 13828 91.239.205.62 (20 Aug 2014 22:15:01 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Wed, 20 Aug 2014 22:15:01 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit