Changeset 4e49e21 in tol


Ignore:
Timestamp:
Dec 7, 2010, 12:10:16 AM (16 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
1c58878
Parents:
a168f52
Message:

refs #1028, slave process of tolserver is started in the right port not the default one 20458.

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

Location:
tolsh/tolsh.vfs/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tolsh/tolsh.vfs/lib/tequila/tequilas.tcl

    ra168f52 r4e49e21  
    431431# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    432432
    433 if {[lsearch -exact [package names] tequilas] < 0} {
     433if {0 && [lsearch -exact [package names] tequilas] < 0} {
    434434    package require Mk4tcl
    435435    mk::file open tqs tequilas.dat -nocommit
  • tolsh/tolsh.vfs/lib/tolcomm/tolslave.tcl

    ra168f52 r4e49e21  
    6161  array set options {
    6262    -port 6669
     63    -shport 20458
    6364    -logfile ""
    6465  }
    … …  
    7778  }]
    7879
    79   slave_attach_data
     80  slave_attach_data $options(-shport)
    8081
    8182  # Compile expression and tol file provided in the command line
    … …  
    9899}
    99100
    100 proc ::tolslave::slave_attach_data {} {
     101proc ::tolslave::slave_attach_data { port } {
    101102  package require tequila
    102103  global shared_state
    … …  
    104105  global shared_finish
    105106
    106   tequila::open localhost 20458
     107  tequila::open localhost $port
    107108  tequila::attach shared_state
    108109  tequila::attach shared_tasks
Note: See TracChangeset for help on using the changeset viewer.