Ignore:
Timestamp:
Jan 28, 2011, 7:33:14 PM (13 years ago)
Author:
george
Message:
  • Added: Displaying thread list in Demo.
  • Fixed: Terminating and freeing unused threads.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MicroThreading/Demo/UMainForm.lfm

    r156 r157  
    2222    object TabSheet2: TTabSheet
    2323      Caption = 'Scheduler state'
    24       ClientHeight = 493
    25       ClientWidth = 794
     24      ClientHeight = 492
     25      ClientWidth = 798
    2626      object ListView1: TListView
    2727        Left = 222
    28         Height = 460
     28        Height = 459
    2929        Top = 24
    30         Width = 567
     30        Width = 571
    3131        Anchors = [akTop, akLeft, akRight, akBottom]
    3232        Columns = <       
     
    7676        Height = 14
    7777        Top = 7
    78         Width = 74
    79         Caption = 'Microthread list'
     78        Width = 76
     79        Caption = 'Microthreads:'
    8080        ParentColor = False
    8181      end
     
    8686        Width = 205
    8787        Caption = 'State'
    88         ClientHeight = 63
     88        ClientHeight = 66
    8989        ClientWidth = 201
    9090        TabOrder = 1
     
    9393          Height = 14
    9494          Top = 4
    95           Width = 117
     95          Width = 135
    9696          Caption = 'Logical processor count:'
    9797          ParentColor = False
     
    109109          Height = 14
    110110          Top = 20
    111           Width = 69
     111          Width = 78
    112112          Caption = 'Thread count:'
    113113          ParentColor = False
     
    117117          Height = 14
    118118          Top = 36
    119           Width = 95
     119          Width = 107
    120120          Caption = 'Micro thread count:'
    121121          ParentColor = False
     
    144144        Width = 206
    145145        Caption = 'Control'
    146         ClientHeight = 108
     146        ClientHeight = 111
    147147        ClientWidth = 202
    148148        TabOrder = 2
     
    160160          Height = 14
    161161          Top = 46
    162           Width = 69
     162          Width = 78
    163163          Caption = 'Thread count:'
    164164          ParentColor = False
     
    174174        object CheckBoxUseMainThread: TCheckBox
    175175          Left = 10
    176           Height = 17
     176          Height = 20
    177177          Top = 64
    178           Width = 98
     178          Width = 112
    179179          Caption = 'Use main thread'
    180180          OnChange = CheckBoxUseMainThreadChange
     
    182182        end
    183183      end
     184      object ListView2: TListView
     185        Left = 6
     186        Height = 236
     187        Top = 247
     188        Width = 206
     189        Anchors = [akTop, akLeft, akBottom]
     190        Columns = <       
     191          item
     192            Caption = 'Id'
     193          end       
     194          item
     195            Caption = 'State'
     196            Width = 135
     197          end>
     198        OwnerData = True
     199        TabOrder = 3
     200        ViewStyle = vsReport
     201        OnData = ListView2Data
     202      end
     203      object Label13: TLabel
     204        Left = 7
     205        Height = 14
     206        Top = 233
     207        Width = 50
     208        Caption = 'Threads:'
     209        ParentColor = False
     210      end
    184211    end
    185212    object TabSheet1: TTabSheet
    186213      Caption = 'Job control'
    187       ClientHeight = 493
    188       ClientWidth = 794
     214      ClientHeight = 492
     215      ClientWidth = 798
    189216      object ButtonAddWorkers: TButton
    190217        Left = 10
     
    263290    object TabSheet3: TTabSheet
    264291      Caption = 'Testing'
    265       ClientHeight = 493
    266       ClientWidth = 753
     292      ClientHeight = 492
     293      ClientWidth = 798
    267294      object ButtonShowThreadId: TButton
    268295        Left = 14
Note: See TracChangeset for help on using the changeset viewer.