[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] 39/61: add shutdown procedure
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] 39/61: add shutdown procedure |
Date: |
Sat, 13 Apr 2019 13:36:14 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet-nim.
commit 6781ce0490588f0f557d09732fa476e7f11f6d75
Author: lurchi <address@hidden>
AuthorDate: Wed Aug 8 20:15:21 2018 +0200
add shutdown procedure
---
gnunet_application.nim | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnunet_application.nim b/gnunet_application.nim
index 6c617fe..3695912 100644
--- a/gnunet_application.nim
+++ b/gnunet_application.nim
@@ -84,6 +84,9 @@ proc initGnunetApplication*(configFile: string): ref
GnunetApplication =
assert(GNUNET_SYSERR != GNUNET_CONFIGURATION_load(app.configHandle,
configFile))
return app
+proc shutdownGnunetApplication*() =
+ GNUNET_SCHEDULER_shutdown()
+
proc doWork*(app: ref GnunetApplication) =
discard GNUNET_SCHEDULER_do_work(app.schedulerHandle) #FIXME: don't discard
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet-nim] 05/61: .gitignore: fix typo, (continued)
- [GNUnet-SVN] [gnunet-nim] 05/61: .gitignore: fix typo, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 04/61: .gitignore: ignore the main binary, and nim_cache directory, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 01/61: license for lurchi's code, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 06/61: .gitignore: fix syntax error, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 07/61: add asynccadet code (does not compile yet), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 19/61: make the cleanup proc the finalizer (no explicit call necessary anymore), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 13/61: connection to cadet service successful, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 15/61: use the bundled gnunet.conf, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 20/61: let's try out ports and channels, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 11/61: make cadetConnect an async proc, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 39/61: add shutdown procedure,
gnunet <=
- [GNUnet-SVN] [gnunet-nim] 30/61: gitignore: add gnunet generated files and folders, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 27/61: cli option: add option to specify gnunet config, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 14/61: don't use AsyncEvent but store Futures in GnunetApplication, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 22/61: we get notified about an incoming CADET channel (and then we crash), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 24/61: command line parsing; application code for creating channel, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 17/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 16/61: disconnect after connecting (shuts down the application), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 12/61: fix segfaults using heap allocation, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 08/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 18/61: make the cleanup proc the finalizer (no explicit call necessary anymore), gnunet, 2019/04/13