2.4.2 Clients
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • Transparent Inter-Process Communications (TIPC) libraries
        • The TIPC libraries: library(tipc/...)
          • library(tipc/tipc_linda): A Process Communication Interface
            • Clients
              • linda/0
              • linda/1
              • linda_client/1
              • close_client/0
              • linda_timeout/2
              • linda_timeout/1
              • out/1
              • in/1
              • in_noblock/1
              • in/2
              • rd/1
              • rd_noblock/1
              • rd/2
              • bagof_in_noblock/3
              • bagof_rd_noblock/3
              • linda_eval/1
              • linda_eval/2
              • linda_eval_detached/1
              • linda_eval_detached/2
              • tuple/1
              • tuple/2
              • tipc_linda_server/0
              • tipc_initialize/0
Availability::- use_module(library(tipc/tipc_linda)).
[nondet]tipc_linda_server
Acts as a stand-alone Linda server. This predicate initializes the TIPC stack and then starts a Linda server in the current thread. If a client performs an out(server_quit), the server's Prolog process will exit via halt/1. It is intended for use in scripting as follows:
swipl -q -g 'use_module(library(tipc/tipc_linda)),
       tipc_linda_server' -t 'halt(1)'

See also manual section 2.10.2.1 Using PrologScript.

Note: Prolog will return a non-zero exit status if this predicate is executed on a cluster that already has an active server. An exit status of zero is returned on graceful shutdown.

throws
error(permission_error(halt,thread,2),context(halt/1,Only from thread’main')), if this predicate is executed in a thread other than main.