302790951
V2EX  ›  问与答

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

  •  
  •   302790951 · Dec 6, 2014 · 2832 views
    This topic created in 4299 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   ·   850 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:49 · PVG 04:49 · LAX 13:49 · JFK 16:49
    ♥ Do have faith in what you're doing.