[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Binding scheduler with another event loop, gnune
From: |
Schanzenbach, Martin |
Subject: |
Re: [GNUnet-developers] Binding scheduler with another event loop, gnunet-search and gnunet-publish metadata |
Date: |
Fri, 22 Mar 2019 19:09:42 +0100 |
> On 22. Mar 2019, at 17:37, Amirouche Boubekki <address@hidden> 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?
What you can do is integrate with another library that requires scheduling if
it exposes the respective file descriptors.
See gnunet-gns-proxy.c or gnunet-rest-server.c for that.
>
> Almost exactly last year, there was some discussion about
> this topic on IRC and gnunet-web.
>
> B) Does it make sense to group search queries using a single call
> to gnunet-search? Does it save bandwidth or something?
>
> 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?
>
>
>
>
> Thanks in advance,
>
> amz3
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers
signature.asc
Description: Message signed with OpenPGP