Posts by lucasgvarela • 239 points
4 posts
-
8
votes1
answer517
viewsQ: Parallelize python Odd-Even Sort sorting algorithm
I have developed the following serial code to perform the Odd-Even Sort sorting, which first sorts even/odd and then odd/even. import time def oddevenSort(x): sorted = False while not sorted: sorted…
-
1
votes1
answer116
viewsQ: How to use Lock Functions (Lock Routines) from Openmp?
I need to create 5 easy-to-understand algorithms for each of the blocking functions below in C or C++ to be able to exemplify how each one works and present to my office staff.…
-
3
votes1
answer1356
viewsQ: Python serial vs multiprocessing vs threading code
I’m using python version 3.4 How do I find out that my codes are actually working and doing what they’re supposed to? When looking at the System Monitor (linux) I noticed that codes using…
-
1
votes1
answer1438
viewsQ: Send String via socket Java
I have my Client and Server classes. I want to send String to the server. I have tried several methods but error or it sends an empty string to the server. Someone can give me a light of what I am…