I have two functions, one creates a string called "what" then passes it to a function like so:
string what("r1"); ... criticalSection(r1Se