source: tol/tolsh/tolsh.vfs/lib/tolcomm/tolshared.tcl @ 02aa1f2

1941-docker-image-to-testdevel
Last change on this file since 02aa1f2 was 542c12b, checked in by Liván Ramírez Dorta <livanr68@…>, 17 years ago

refs#873: Improve TolServer process structure

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2052 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 1.1 KB
Line 
1###############################################################################
2#
3#  tolshared.tcl -- communication layer of tolsh when acting as a shared.
4#
5###############################################################################
6
7package provide tolshared 1.0
8
9###############################################################################
10#
11#  tolshared - namespace to encapsulate the shared state and behaviour
12#
13###############################################################################
14
15namespace eval ::tolshared {
16
17}
18
19###############################################################################
20#
21#  start -- Start the shared
22#
23###############################################################################
24proc ::tolshared::start {} {
25  global tqs_info
26  package require tequilas
27
28  puts "::tolshared::start"
29  mk::file open tqs tequilas.dat -nocommit
30  set tqs_info(verbose) 0     ;# default logging is off
31  TqsTimer ""                 ;# default commit timer is 30 seconds
32  tqsRun 20458                ;# default port is 20458
33}
Note: See TracBrowser for help on using the repository browser.