source: tol/tolsh/tolsh.vfs/lib/tolcomm/tolshared.tcl @ 10a207c

1941-docker-image-to-testdevel
Last change on this file since 10a207c was 10a207c, checked in by Jorge Pérez <josp.jorge@…>, 16 years ago

make sure Mk4tcl is required

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2746 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 Mk4tcl
27  package require tequilas
28
29  puts "::tolshared::start"
30  mk::file open tqs tequilas.dat -nocommit
31  set tqs_info(verbose) 0     ;# default logging is off
32  TqsTimer ""                 ;# default commit timer is 30 seconds
33  tqsRun 20458                ;# default port is 20458
34}
Note: See TracBrowser for help on using the repository browser.