A whistle being blown in a dream can mark the end of a particular phase of time.

It can also sound as a warning to alert us to a particular event.

To clarify your interpretation consult the entries for games and musical instruments.