A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-January/019520.html below:

[Python-Dev] thread_foobar.h routines

[Python-Dev] thread_foobar.h routines [Python-Dev] thread_foobar.h routinesRuss Cox rsc@plan9.bell-labs.com
Tue, 15 Jan 2002 22:26:51 -0500
I'm writing thread routines for the Plan 9 port of Python.

Is it correct that:

	PyThread_acquire_lock returns 1 on success, 0 on failure.
	PyThread_down_sema returns 0 on success, -1 on failure.

It appears that way, but the inconsistency bothers me.

Thanks.
Russ



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4