Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

As far as we know, our computer has never had an undetected error. -- Weisert


devel / comp.lang.python / Asynchronous execution of synchronous functions

SubjectAuthor
o Asynchronous execution of synchronous functionsAxy

1
Asynchronous execution of synchronous functions

<mailman.489.1664191482.20444.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=23998&group=comp.lang.python#23998

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: axy@declassed.art (Axy)
Newsgroups: comp.lang.python
Subject: Asynchronous execution of synchronous functions
Date: Mon, 26 Sep 2022 12:17:47 +0100
Lines: 13
Message-ID: <mailman.489.1664191482.20444.python-list@python.org>
References: <4a6d6d26-318c-f596-5f92-89326085efff@declassed.art>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1AryqdNdbk5bviSYv2oFVQpiWvd4gcFZojzXplZ87q0Q==
Return-Path: <axy@declassed.art>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=declassed.art header.i=@declassed.art header.b=cks/LAr6;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.089
X-Spam-Evidence: '*H*': 0.83; '*S*': 0.01; 'thread': 0.05; 'queue':
0.07; 'problem.': 0.15; 'generalized': 0.16; 'to:addr:python-
list': 0.20; 'anyone': 0.25; 'library': 0.26; 'example,': 0.28;
'header:User-Agent:1': 0.30; 'approach': 0.31; 'context': 0.32;
"i'll": 0.33; 'there': 0.33; 'mean': 0.34; 'functions': 0.36;
"it's": 0.37; 'quite': 0.39; 'difficult': 0.40; 'search': 0.61;
'down': 0.64; 'ago.': 0.64; 'stuff,': 0.84; 'tiny': 0.84
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Content-Language: en-US
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=declassed.art;
i=@declassed.art; q=dns/txt; s=20210603; t=1664191072; h=message-id :
date : mime-version : to : from : subject : content-type :
content-transfer-encoding : from;
bh=4XOw/q/AaO46Qy3jf/oCACaheDX7HGM8tFztjwrZyZ0=;
b=cks/LAr6AUpaNp7hOcJRekuIvPClYIvaZsbZqmaKW/dfnh9SpHtc6mBXmMW7ku0Gj9Uxs
A2jsARAEpjDGSSwJdzbICzsaG7KKC3EmcMBzhOa7O/yE/Ijo7fBsdBF+LIDmWmgUQAfQ6ai
cszft1XbJuSJg7VscHQJqNK6wF4NIwHhMBLSWHoUr2At0tlpx665y7A/sU4Atdg+J7HwhlT
hVDHd2WRcglGwlPvocML7ro074IiIg+bs2bd4ma2cDhuytUR+WvqL2t65sMNTnOY9YeU1im
wWpJRdIaTt92684FqArfCDgluS1HhsiFs86V1WEQJPDzXEQO+1cnVW/r/M7g==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <4a6d6d26-318c-f596-5f92-89326085efff@declassed.art>
 by: Axy - Mon, 26 Sep 2022 11:17 UTC

Hi there,

is there a library to call functions in context of a thread? For
example, as in asyncsqlite which has a thread and a queue I mean has
anyone generalized such an approach already?

If not, I'll do it myself, no problem.

It's a kind of tiny stuff, like atomicwrites, which is quite difficult
to dig out with modern search engines that have already rolled down to
hell a decade ago.

Axy.


devel / comp.lang.python / Asynchronous execution of synchronous functions

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor