Delay inside 'void' that doesn't stop the loop

You are clearly misusing the word "void", and probably others, such that it is difficult for us to understand you.

void thisisafunction() { //this is a function named "thisisafunction", which returns type void (ie, it returns nothing)
       doStuff(); //this code is inside the 'thisisafunction()' function
       Serial.println(thisisalsoafunction(5));
}

int thisisalsoafunction(byte b) { //this is a function named "thisisalsoafunction", which returns type int (ie, it returns an integer datatype)
     int retval=b<<7; //define an integer to return, and set it equal to b<<7 (ie, b*128)
     return retval;
}

That while loop... i don't think it'll do anything, because you left the test blank, which should be false, so it'll never run... it certainly won't do what you want.

I'm starting to wonder if you're really asking for doing multiple things at once without delay - Demonstration code for several things at the same time - Project Guidance - Arduino Forum for more info - you need to keep track of the time, in that case)