>>11510939From what I recall, there's a sort of valve that prevents you from doing both. Of course you could have leftover cum or piss in one of your tracts that gets squeezed out, but of course I'm talking about fresh piss straight from the bladder.
Upon some quick research, it seems that some muscles simply contract to close off the bladder. Not quite the sophisticated valve system I was imagining, but effective nonetheless.