Commit d0179796 authored by Kirill Smelkov's avatar Kirill Smelkov

sync: Refer to go123 who now provides xsync.WorkGroup

https://godoc.org/lab.nexedi.com/kirr/go123/xsync#WorkGroup
kirr/go123@515a6d14
parent 8af78fc5
# cython: language_level=2 # cython: language_level=2
# Copyright (C) 2019 Nexedi SA and Contributors. # Copyright (C) 2019-2020 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com> # Kirill Smelkov <kirr@nexedi.com>
# #
# This program is free software: you can Use, Study, Modify and Redistribute # This program is free software: you can Use, Study, Modify and Redistribute
# it under the terms of the GNU General Public License version 3, or (at your # it under the terms of the GNU General Public License version 3, or (at your
...@@ -26,7 +26,9 @@ ...@@ -26,7 +26,9 @@
See also https://golang.org/pkg/sync for Go sync package documentation. See also https://golang.org/pkg/sync for Go sync package documentation.
(*) not provided in Go version. (*) not provided in Go standard library, but package
https://godoc.org/lab.nexedi.com/kirr/go123/xsync
provides corresponding Go equivalents.
""" """
from golang cimport error, refptr from golang cimport error, refptr
......
#ifndef _NXD_LIBGOLANG_SYNC_H #ifndef _NXD_LIBGOLANG_SYNC_H
#define _NXD_LIBGOLANG_SYNC_H #define _NXD_LIBGOLANG_SYNC_H
// Copyright (C) 2018-2019 Nexedi SA and Contributors. // Copyright (C) 2018-2020 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com> // Kirill Smelkov <kirr@nexedi.com>
// //
// This program is free software: you can Use, Study, Modify and Redistribute // This program is free software: you can Use, Study, Modify and Redistribute
...@@ -36,7 +36,9 @@ ...@@ -36,7 +36,9 @@
// //
// - `_makesema` and `_sema*` provide semaphore functionality(*). // - `_makesema` and `_sema*` provide semaphore functionality(*).
// //
// (*) not provided in Go version. // (*) not provided in Go standard library, but package
// https://godoc.org/lab.nexedi.com/kirr/go123/xsync
// provides corresponding Go equivalents.
#include <golang/libgolang.h> #include <golang/libgolang.h>
#include <golang/context.h> #include <golang/context.h>
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) 2019 Nexedi SA and Contributors. # Copyright (C) 2019-2020 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com> # Kirill Smelkov <kirr@nexedi.com>
# #
# This program is free software: you can Use, Study, Modify and Redistribute # This program is free software: you can Use, Study, Modify and Redistribute
# it under the terms of the GNU General Public License version 3, or (at your # it under the terms of the GNU General Public License version 3, or (at your
...@@ -26,7 +26,9 @@ ...@@ -26,7 +26,9 @@
See also https://golang.org/pkg/sync for Go sync package documentation. See also https://golang.org/pkg/sync for Go sync package documentation.
(*) not provided in Go version. (*) not provided in Go standard library, but package
https://godoc.org/lab.nexedi.com/kirr/go123/xsync
provides corresponding Go equivalents.
""" """
from __future__ import print_function, absolute_import from __future__ import print_function, absolute_import
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment