Posts by Dario • 75 points
4 posts
-
0
votes2
answers59
viewsA: How to instantiate objects in shared memory?
I found the error. The shmget itself already "creates" an object in the shared memory. Correcting the attribution error I made earlier, just make a function that initializes this object, as if it…
-
3
votes2
answers59
viewsQ: How to instantiate objects in shared memory?
I have an application in which there are several parallelization modes. However, when I will parallelize through Fork() the barrier is not shared between processes, there is some difference of the…
-
1
votes1
answer120
viewsQ: Calling a static method by name as string in Javascript
If I want to call a static function by name as string, how do I? I did what is below, suppose the function name is "move". class Transformation { static operate(object, function_name) {…
-
3
votes1
answer656
viewsQ: Why do packages start with the br.com prefix in Java?
I often observe examples on the Java code web where your class organization is always contained in packages with the br.com.algumNomeDecote prefix. Why is "br.com used" ?