The University of New Hampshire poll shows Clinton with a two-point lead, 39 percent to 37 percent, | Getty Clinton leads by 2 in New Hampshire

CLEVELAND — Hillary Clinton and Donald Trump are running neck-and-neck in the battleground state of New Hampshire, according to a poll released Thursday night on the eve of Trump’s speech accepting the Republican presidential nomination.

The University of New Hampshire poll — which was in the field from July 9 through Monday, the first night of the GOP’s national party convention here — shows Clinton with a two-point lead, 39 percent to 37 percent, well within the poll’s margin of error of plus or minus 4.5 percentage points.

Neither candidate can clear the 40-percent threshold, but it’s not because voters are torn between the two, the poll shows. Eighteen percent of likely voters said they intend to support another candidate, and only 6 percent were undecided.

A follow-up question plumbs how those “other” voters might be distributed: With Libertarian Party nominee Gary Johnson and Green Party nominee Jill Stein included, Clinton and Trump are deadlocked at 37 percent apiece. Johnson earns 10 percent, and Stein garners 5 percent.

Both major-party candidates are widely disliked: Just 36 percent of likely voters have a favorable opinion of Clinton, while slightly fewer, 32 percent, view Trump favorably. Majorities have unfavorable opinions of each candidate: 58 percent and 61 percent, respectively.

In the two-way matchup, Clinton’s supporters are more certain: She leads Trump by 6 points among voters who are “definitely decided” whom they will choose. But among the smaller group of those “leaning toward someone,” Trump has an 8-point edge.

The largest cleavages in the race are gender and education. The gender gap is massive: Trump leads by 16 points among men, and Clinton has a 19-point edge among women.

And Trump is winning less-educated voters in the overwhelmingly white state: He leads by 27 points among voters with a high school education or less, and 30 points among those who attended college but didn’t graduate.

Clinton, on the other hand, leads by 7 points among college grads — and 48 points among those with a post-graduate education.

The poll, which surveyed 469 likely voters, is similar to other recent surveys in New Hampshire: The other three public polls conducted there since Trump clinched the GOP nomination in May showed either a tied race, or a 2-point Clinton lead.

But it’s much closer than the University of New Hampshire’s previous poll, conducted in April, when Trump was still battling for the nomination: Clinton led in that survey by 19 points.

Overall, Clinton leads Trump in POLITICO’s New Hampshire Battleground polling average by 3.8 points – a gap driven almost entirely by the April UNH survey.