MCPcopy Create free account
hub / github.com/LMMS/lmms / run

Method run

src/core/RemotePlugin.cpp:55–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55void ProcessWatcher::run()
56{
57 m_plugin->m_process.start( m_plugin->m_exec, m_plugin->m_args );
58 exec();
59 m_plugin->m_process.moveToThread( m_plugin->thread() );
60 while( !m_quit && m_plugin->messagesLeft() )
61 {
62 msleep( 200 );
63 }
64 if( !m_quit )
65 {
66 fprintf( stderr,
67 "remote plugin died! invalidating now.\n" );
68 m_plugin->invalidate();
69 }
70}
71
72
73

Callers

nothing calls this directly

Calls 4

threadMethod · 0.80
messagesLeftMethod · 0.80
invalidateMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected