Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fd94c4c9e8bb62358f785104b49ffa4aed956b0d
Ticket: 653218ffffffffffffffffffffffffffffffffff
Channels CloseProc() not called on close
User & Date: andreas_kupries on 2003-01-07 05:52:45
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Note: If BG_FLUSH_SCHEDULED is set the channel cannot 
    be closed completely. There is a BackGround-FLUSH of data 
    active. The channel won't be visible at the script level 
    anymore, but the data structures remain until the flush is 
    completed. After that happend the close proc is called and 
    the structures are cleaned up completely. This is only for a 
    non-blocking channel.
    
    To get 'flushonclose' behaviour just set the channel to -
    blocking 1. Of course, this may stall the [close] at the tcl 
    level if the serial port itself is stalled.
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"