加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – GDI背景线程做什么?

发布时间:2020-12-14 04:34:11 所属栏目:Windows 来源:网络整理
导读:初始化时,GDI(非.NET)创建一个后台线程,可以选择禁止调用一些钩子函数.然而,MSDN并没有说明这个线程实际上是做什么的. Google似乎也不知道. 这是什么 This thread提供了一般的解释: GDI+ spins up a background thread as soon as you start manipulating i
初始化时,GDI(非.NET)创建一个后台线程,可以选择禁止调用一些钩子函数.然而,MSDN并没有说明这个线程实际上是做什么的. Google似乎也不知道.

这是什么

This thread提供了一般的解释:

GDI+ spins up a background thread as soon as you start manipulating images. It’s name doesn’t provide much of a hint what it does,“BackgroundThreadProc()”. This is pretty common in Microsoft libraries. Some sort of internal management thread,probably has something to do with memory management or threading. It creates a hidden window,that’s classic too.

Nothing to worry about,everything is normal. Including the exit code.

FWIW,this thread建议禁止背景线程:

If you do not suppress the background GDI+ thread,DDE commands can be prematurely issued to the application before its main window has been created. The DDE commands issued by the shell can be prematurely aborted,resulting in error messages.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读