Ineffable Ontological Detanglement .: Introspective Assistance & Mental Analysis Manual
Racing thoughts are not you thinking too fast and losing your head, they're complete and total loss of control of your thoughts, you have no idea where they're going, it's no longer you thinking it's your mind presenting itself to you and it may well start presenting to you something pretty horrifying. Like with thought looping, you are semi-consciously choosing to engage in this, unlike with thought looping it isn't exactly you did a stupid thing somewhat consciously, this is pretty much out of your control. Unlike with thought looping this isn't just a thing the brain do sometimes it's okay, no, this is not okay.
The generating of semi-conscious thoughts has outpaced conscious control, prioritization systems have collapsed, your subconscious is flooding your semi-conscious with whatever it's going to need and every little bit of your semi-conscious processing is displaying itself to your conscious line of thought.
Associate this with this with this with this with this, this spawns this which spawns this which you can associate with this which you can associate with this which spawns this, keep going keep going find the bottom. Is the bottom you going psychotic? Possibly, however not inherently. If you know that what you're supposed to do in this moment is figure it out, you'll be fine. All of these thoughts, I don't really believe any of them none of these things are real to me and I can't find any way I can or want to make them real, then, you're fine.
Yes, you are approaching error correction collapse, yes the end of that tunnel is hallucination, no you're like nowhere near the end of that tunnel you've still got, like, 99.8% of that tunnel to go.