So in general, regarding perishable foods like meat, most dairy, unshelled eggs and shell eggs (in the US) , cooked casseroles, and so on: if the food (or its perishable components) have been at room temperature for more than two hours, you should discard that food.
http://cooking.stackexchange.com/questions/34670/how-do-i-know-if-food-left-at-room-temperature-is-still-safe-to-eat
Under these temperatures, cooked meat can develop staleness as quickly as 3 to 4 hours. So if you are planning on eating cooked meat which has been left out for more than 4 hours on the shelf, you will be doing it at a health risk.
http://www.outofstress.com/cooked-meat-facts/
How long can raw pork ribs sit at room temperature? Raw pork ribs should not be allowed to sit at room temperature for  more than 20 minutes. The ribs must either be kept cold enough to  prevent the growth of bacteria or cook … ed to kill any germs that are  present.
http://www.answers.com/Q/How_long_can_thawed_raw_pork_sit_at_room_temperature_before_it_goes_bad
four hours is the max for any food at room temperature. Another perspective Four hours is too long. Potentially hazardous food should not be left out more than 2 hours.
http://www.answers.com/Q/How_long_can_thawed_raw_pork_sit_at_room_temperature_before_it_goes_bad
19. I strongly disagree on dairy. In many European countries cheeses are sold at room temperature and are absolutely fine to eat, and you can definitely keep it out of the fridge for more than two hours with no issue whatsoever.
http://cooking.stackexchange.com/questions/34670/how-do-i-know-if-food-left-at-room-temperature-is-still-safe-to-eat
One exception to note: If the food's sitting in an environment where the temperature is over 90 ° F, the USDA says the food should only be left out for one hour, so keep an eye on the clock if you're serving food on a hot day!
http://www.thekitchn.com/how-long-can-you-leave-cooked-foods-unrefrigerated-kitchen-facts-218225
Duration Cooked Meat Can be Left Out. In most food establishments, 4 hours is the maximum duration that a cooked meat is allowed to stand on the shelf when the room temperature is between 40F to 140F. At temperatures less than 40F, foods can remain bacteria free for a longer duration. In fact, when cooked meat (gravy, broth or dry fried) is refrigerated at a temperature between 32 to 40F, it can stay consumable for close 3-4 days.
http://www.outofstress.com/cooked-meat-facts/
Cooked food sitting at room temperature is in what the USDA calls the Danger Zone, which is between 40 ° F and 140 ° F. In this range of temperatures, bacteria grows rapidly and the food can become unsafe to eat, so it should only be left out no more than two hours.
http://www.thekitchn.com/how-long-can-you-leave-cooked-foods-unrefrigerated-kitchen-facts-218225
We've all forgotten to put something away after a meal or gotten distracted. Or maybe this question has come up when cleaning up after a party and figuring out what to do with all the leftover food.
http://www.thekitchn.com/how-long-can-you-leave-cooked-foods-unrefrigerated-kitchen-facts-218225
So after 2 hours, the food should either be reheated to 165°F or placed in the fridge to cool further. Four hours was an old recommendation, but that was to get the food from 140°F to 40°F. Which means it would have to be fully chilled by the end of that time frame-not still sitting out at room temperature.
http://www.answers.com/Q/How_long_can_thawed_raw_pork_sit_at_room_temperature_before_it_goes_bad
how long can cooked pork be left at room temperature
Cooked pork can be left for two hours at room temperature.