Skip to content
Snippets Groups Projects
Commit 27e7ff89 authored by apvrille's avatar apvrille
Browse files

Removing warning on unused return value

parent fcf57584
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,13 @@ int main(int len, char ** args) {
pthread_t aThreadSim, aThreadServ;
int aRetVal;
aRetVal = pthread_create(&aThreadSim, NULL, SimThreadFunc, static_cast<void*>(&mySim));
if (aRetVal != 0) {
exit(-1);
}
aRetVal = pthread_create(&aThreadServ, NULL, ServThreadFunc, static_cast<void*>(myServer));
if (aRetVal != 0) {
exit(-1);
}
pthread_join(aThreadSim, NULL);
pthread_join(aThreadServ, NULL);
pthread_exit(NULL);
......
......@@ -344,7 +344,7 @@ public class TMLCPrimitiveComponent extends TGCScalableWithInternalComponent imp
JDialogAttribute jda = new JDialogAttribute(myAttributes, null, frame, "Setting attributes of " + value, "Attribute");
setJDialogOptions(jda);
// jda.setSize(650, 375);
GraphicLib.centerOnParent(jda, 650, 375);
GraphicLib.centerOnParent(jda, 750, 375);
jda.setVisible(true); // blocked until dialog has been closed
//makeValue();
//if (oldValue.equals(value)) {
......
......@@ -94,7 +94,7 @@ public abstract class TMLCPrimitivePort extends TGCScalableWithInternalComponent
protected int maxSamples = 8;
protected int widthSamples = 4;
protected boolean isFinite = false;
protected boolean isBlocking = false;
protected boolean isBlocking = true;
public boolean isOrigin = true;
public int typep = 0;
protected int oldTypep = typep;
......
......@@ -964,6 +964,9 @@ public class JDialogSystemCGeneration extends JDialog implements ActionListener,
//SpecConfigTTool.ExternalCommand1 = "gtkwave " + SpecConfigTTool.lastVCD;
break;
case ANIMATION:
updateStaticList();
optimizeModeSelected = optimizemode.isSelected();
activatePenaltiesSelected = activatePenalties.isSelected();
dispose();
mgui.interactiveSimulationSystemC(getPathInteractiveExecute());
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment