Jump to content

Lennard

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi, in my SC_THREAD I want to start another thread and I am using the sc_spawn method for that. To make it sensitive to the clock, I want to use sc_spawn_options (quick question: If my main thread is sensitive to the same clock signal, do I even need the spawn options?). However, when I try to compile it, it throws an error: error: ‘sc_spawn_option’ was not declared in this scope. When I remove the spawn options (and simply spawn the new Thread without them), I do not get an error. Here is the code: sc_spawn_option spawnOption; spawnOption.set_sensitivity(clock.pos()); sc_spawn(s
×
×
  • Create New...