V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
302790951
V2EX  ›  问与答

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

  •  
  •   302790951 · Dec 6, 2014 · 2649 views
    This topic created in 4169 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   ·   Solana   ·   969 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 22:26 · PVG 06:26 · LAX 15:26 · JFK 18:26
    ♥ Do have faith in what you're doing.