]> git.donarmstrong.com Git - mothur.git/blobdiff - chimeraslayercommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / chimeraslayercommand.cpp
index 9a2b249ce213bb97096b94a41bc36d54f9919d30..d0f3516156656853dfd64f453179c0dfcdefc1c4 100644 (file)
@@ -1577,7 +1577,7 @@ int ChimeraSlayerCommand::createProcessesGroups(string outputFName, string accno
 #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
                //loop through and create all the processes you want
                while (process != processors) {
-                       int pid = fork();
+                       pid_t pid = fork();
                        
                        if (pid > 0) {
                                processIDS.push_back(pid);  //create map from line number to pid so you can append files in correct order later
@@ -2006,7 +2006,7 @@ int ChimeraSlayerCommand::createProcesses(string outputFileName, string filename
 #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
                //loop through and create all the processes you want
                while (process != processors) {
-                       int pid = fork();
+                       pid_t pid = fork();
                        
                        if (pid > 0) {
                                processIDS.push_back(pid);  //create map from line number to pid so you can append files in correct order later