Not long. Carbon monoxide has a high affinity to the hemoglobin molecule, not allowing the oxygen molecules to bind. Exactly how long before one gets carbon monoxide poisoning depends on many factors including the health of the individual exposed and the concentration of the carbon monoxide. Avoid exposure by never burning anything inside a house (bbq, etc.).