|Subject:||Re: [GNUnet-developers] Binding scheduler with another event loop, gnunet-search and gnunet-publish metadata|
|Date:||Sun, 24 Mar 2019 17:08:58 +0100|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1|
repo you can find a implementation in nim using the scheduler API.
On 22.03.19 18:31, Christian Grothoff wrote:
On 3/22/19 5:37 PM, Amirouche Boubekki wrote:Hello all, A) I would like to know how to bind gnunet event loop aka. scheduler to another event loop that will be the main event loop without relying on threads. The reason is in scheme I can use call/cc to implement something similar to python async / await the end result is that there no more or at least less callbacks in my code. Does anyone successfully integrated gnunet with another event loop? Almost exactly last year, there was some discussion about this topic on IRC and gnunet-web.AFAIK only the existing 'select' implementation was finished. The API to do this exists though: GNUNET_SCHEDULER_driver_init().B) Does it make sense to group search queries using a single call to gnunet-search? Does it save bandwidth or something?It would not save bandwidth.C) In gnunet-publish there is an option -m aka. meta: -m, --meta=TYPE:VALUE set the meta-data for the given TYPE to the given VALUE How this metadata is used?It is included in the search result for the file.
Description: OpenPGP digital signature
|[Prev in Thread]||Current Thread||[Next in Thread]|