Warning: Undefined array key "rss_show_deleted" in /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 53
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 54
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 33 wi12.unix7.org
https://w12.unix7.org/
Wed, 05 Aug 2026 02:42:49 +0000FeedCreator 1.8https://w12.unix7.org/_media/wiki/dokuwiki.svgwi12.unix7.org
https://w12.unix7.org/
Welcome to wiki.Unix7.org, my pocket wiki
https://w12.unix7.org/start
If Java had true garbage collection,
most programs would delete themselves upon execution.
Если Java имела бы истинный сборщик мусора,
многие программы удалили бы сами себя.
Welcome to wiki.Unix7.org, my pocket wikiziggi@undisclosed.example.com (ziggi)Thu, 02 Jul 2026 21:29:51 +0000Golang begin
https://w12.unix7.org/c/gobegin
Golang begin
* task - corointine
* yield - schedule
=)
/*
* Copyright 2022 Oleg Borodin <borodin@unix7.org>
*/
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <ucontext.h>
#include <assert.h>
#include <time.h>
typedef struct itask task_t;
typedef void (*task_f)(task_t* task);
struct itask {
int ident;
task_f func;
ucontext_t* scntx;
ucontext_t* tcntx;
task_t* next;
bool …ziggi@undisclosed.example.com (ziggi)Wed, 28 Dec 2022 19:49:21 +0000screenshot-2022-12-21--11-52-49.png - created
https://w12.unix7.org/?image=screenshot-2022-12-21--11-52-49.png&ns=0&do=media
<img src="https://w12.unix7.org/_media/screenshot-2022-12-21--11-52-49.png?w=500&h=500&tok=ceb677" alt="screenshot-2022-12-21--11-52-49.png" loading="lazy" width="500" height="500" />ziggi@undisclosed.example.com (ziggi)Wed, 21 Dec 2022 09:53:19 +0000borodin-on-project-management-sert.png - created
https://w12.unix7.org/?image=borodin-on-project-management-sert.png&ns=0&do=media
<img src="https://w12.unix7.org/_media/borodin-on-project-management-sert.png?w=500&h=500&tok=6e6165" alt="borodin-on-project-management-sert.png" loading="lazy" width="500" height="500" />ziggi@undisclosed.example.com (ziggi)Mon, 19 Dec 2022 08:29:21 +0000theendru.jpg - created
https://w12.unix7.org/?image=theendru.jpg&ns=0&do=media
<img src="https://w12.unix7.org/_media/theendru.jpg?w=500&h=500&tok=23dafd" alt="theendru.jpg" loading="lazy" width="500" height="500" />ziggi@undisclosed.example.com (ziggi)Mon, 07 Jun 2021 10:43:24 +0000