zoukankan      html  css  js  c++  java
  • Delphi 匿名函数的几个实际应用(三)

    Thread Synchronization with the VCL  VCL多线程同步

     

    In multi-threaded applications that need to update the user interface, you
    cannot access to properties of visual components (or in memory-objects)
    that are part of the global thread without a synchronization mechanism.

     

    The VCL, in fact, in not thread-safe (as is true for most user-interface libraries).
    Two threads accessing an object at the same time could compromise its
    state.

     

    在一个多线程的需要更新用户界面的应用程序中,如果没有同步机制的话,你将不能访问是全局线程的一部分的可视组件的属性(或在内存的对象)。

  • 相关阅读:
    I-Cache和D-cache
    socat使用
    反射
    属性方法
    getitem
    文件打开编辑和函数参数
    python3编码问题个人理解
    正文内容 python3编码问题
    进度条制作
    集合关系
  • 原文地址:https://www.cnblogs.com/luckForever/p/7254696.html
Copyright © 2011-2022 走看看