302790951
V2EX  ›  问与答

c++ 类调用问题?多线程锁问题?

  •  
  •   302790951 · Dec 6, 2014 · 2867 views
    This topic created in 4315 days ago, the information mentioned may be changed or developed.
    在test类里面写一个

    Mythead函数建立线程

    线程执行test类里的aaa函数

    但是在aaa里无法调用Mythead里实例化线程的线程锁

    求教怎么办!感谢
    1 replies  •  2014-12-06 13:14:12 +08:00
    matthewgao
        1
    matthewgao  
       Dec 6, 2014
    是不是this搞的鬼
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5145 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:09 · PVG 10:09 · LAX 19:09 · JFK 22:09
    ♥ Do have faith in what you're doing.